|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.meiglobal.ebds.api.Message
public class Message
This is a wrapper class for a message. Contains details on the message.
| Constructor Summary | |
|---|---|
Message(byte[] payload,
boolean isSynchronous,
java.lang.String description,
boolean noReplyExpected)
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Getter for the message's description. |
byte[] |
getPayload()
Getter for the message's payload. |
boolean |
isNoReplyExpected()
Getter for the reply expected field. |
boolean |
isSynchronous()
Getter for synchronous. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message(byte[] payload,
boolean isSynchronous,
java.lang.String description,
boolean noReplyExpected)
payload - The message payload.isSynchronous - True if the message was synchronous.description - Description of the message.noReplyExpected - True if there is no reply expected from the device.
Such as a soft reset message.| Method Detail |
|---|
public boolean isSynchronous()
public byte[] getPayload()
public java.lang.String getDescription()
public boolean isNoReplyExpected()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||