| Constructor and Description |
|---|
AbstractMessage(int id,
java.lang.String endpoint,
java.lang.String msgType)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndpoint()
Return the source endpoint
|
int |
getId()
Return the message id
|
java.lang.String |
getType()
Return message type
|
void |
setEndpoint(java.lang.String endpoint)
Set the source endpoint
|
void |
setId(int id)
Set the message id
|
void |
setType(java.lang.String msgType)
Set the message type
|
public AbstractMessage(int id,
java.lang.String endpoint,
java.lang.String msgType)
id - the message idendpoint - the source endpointmsgType - the message type, request or responsepublic void setId(int id)
id - the new message idpublic int getId()
public void setEndpoint(java.lang.String endpoint)
endpoint - the new source endpointpublic java.lang.String getEndpoint()
public void setType(java.lang.String msgType)
msgType - the message type, request or responsepublic java.lang.String getType()