|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ByteMessage
A base class for ByteSender and ByteReceiver.
setPort
sets the port number for the message.
getTimestamp
returns the time when the message was sent or received from
the radio.
Action
Field Summary |
---|
Fields inherited from interface com.sentilla.system.Action |
---|
DONE, ERROR, IDLE, PENDING |
Method Summary | |
---|---|
int |
getPort()
Returns the currently set port. |
long |
getTimestamp()
Returns the message timestamp. |
ByteMessage |
setPort(int port)
Sets the port for message transmissions. |
Methods inherited from interface com.sentilla.system.Action |
---|
block, block, cancel, getActionState, isDone, submit |
Method Detail |
---|
ByteMessage setPort(int port)
port
- the port bytes should be sent to
this
int getPort()
long getTimestamp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |