|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.anwrt.commons.protocol.model.DAObject
com.anwrt.commons.protocol.model.AwtMessage
public class AwtMessage
AwtMessage is the exchanged message between embedded application and the M2M
server.
creation : 10 sept. 2008
| Field Summary | |
|---|---|
static int |
CORRELATED_DATA_MESSAGE
Message type 5, body is a map of correlated data |
static int |
DATA_MESSAGE
Message type 1, body must be a HashMap |
static int |
EVENT_MESSAGE
Message type 3, body must be a TimeStampedData containing AwtEvents |
static int |
RESPONSE_MESSAGE
Message type 4, body, must be a AwtResponse |
static int |
SERVER_COMMAND
Message type 2, body must be a AwtCmmand |
| Constructor Summary | |
|---|---|
AwtMessage()
Default Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
getBody()
|
java.lang.String |
getPath()
|
java.lang.Integer |
getTicketId()
|
java.lang.Integer |
getType()
|
void |
setBody(java.lang.Object body)
|
void |
setPath(java.lang.String path)
|
void |
setTicketId(java.lang.Integer id)
|
void |
setType(java.lang.Integer type)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DATA_MESSAGE
public static final int SERVER_COMMAND
public static final int EVENT_MESSAGE
public static final int RESPONSE_MESSAGE
public static final int CORRELATED_DATA_MESSAGE
| Constructor Detail |
|---|
public AwtMessage()
| Method Detail |
|---|
public java.lang.Integer getType()
public java.lang.String getPath()
public java.lang.Integer getTicketId()
public java.lang.Object getBody()
public void setType(java.lang.Integer type)
public void setTicketId(java.lang.Integer id)
public void setPath(java.lang.String path)
public void setBody(java.lang.Object body)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||