|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
This class defines a Message.
Messages exchanged using the underlying toolkit must implement this interface.
Instances of this interface must be retrieved from the
DataSession.
| Method Summary | |
|---|---|
byte[] |
getPayload()
Gets the payload from the message. |
java.net.SocketAddress |
getSenderAddress()
Gets the sender address. |
void |
setPayload(byte[] buffer)
Sets the payload for the message. |
void |
setSenderAddress(java.net.SocketAddress sender)
Sets the sender address. |
| Method Detail |
|---|
void setPayload(byte[] buffer)
buffer - The payload to be stored in the message.byte[] getPayload()
java.net.SocketAddress getSenderAddress()
void setSenderAddress(java.net.SocketAddress sender)
sender - the sender address.
|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||