|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acap.rudp.core.Message
public class Message
Represents a variable length JSON message.
| Constructor Summary | |
|---|---|
Message(byte[] body)
|
|
Message(JSONObject j)
Creates a new message instance to be sent |
|
| Method Summary | |
|---|---|
JSONObject |
getJSON()
|
long |
getTimestamp()
|
byte[] |
toBytes()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Message(JSONObject j)
throws JSONException
JSONException
public Message(byte[] body)
throws JSONException
JSONException| Method Detail |
|---|
public long getTimestamp()
public JSONObject getJSON()
public byte[] toBytes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||