|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ByteMessage
Contains byte array data to be sent or received.
| Field Summary |
|---|
| Fields inherited from interface net.rim.device.api.io.messaging.Message |
|---|
PRIORITY_MAX, PRIORITY_MIN |
| Method Summary | ||
|---|---|---|
byte[] |
getBytePayload()
Returns a byte representation of a message body. |
|
String |
getStringPayload()
Returns a string representation of a message body. |
|
void |
setBytePayload(byte[] body)
Sets the body of the message using a byte array. |
|
void |
setStringPayload(String body)
Sets the body of the message using a string. |
|
| Methods inherited from interface net.rim.device.api.io.messaging.Message |
|---|
cancel, getCorrelatedMessageId, getMessageId, getMessageProperty, getObjectPayload, getPriority, getTransportHeader, getTransportHeaders, getTransportHeadersForKey, isCancellable, setCancellable, setMessageProperty, setPriority, setTTL, setTransportHeader, setTransportHeader, setTransportHeaders |
| Method Detail |
|---|
byte[] getBytePayload()
String getStringPayload()
void setBytePayload(byte[] body)
throws MessageModificationException
body - A byte representation of message body.
MessageModificationException
void setStringPayload(String body)
throws MessageModificationException
body - A string representation of message body.
MessageModificationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal