Message.MutableADVICE_FIELD, CHANNEL_FIELD, CLIENT_ID_FIELD, CONNECTION_TYPE_FIELD, DATA_FIELD, ERROR_FIELD, EXT_FIELD, ID_FIELD, INTERVAL_FIELD, MIN_VERSION_FIELD, RECONNECT_FIELD, RECONNECT_HANDSHAKE_VALUE, RECONNECT_NONE_VALUE, RECONNECT_RETRY_VALUE, SUBSCRIPTION_FIELD, SUCCESSFUL_FIELD, SUPPORTED_CONNECTION_TYPES_FIELD, TIMEOUT_FIELD, TIMESTAMP_FIELD, TRANSPORT_FIELD, VERSION_FIELD| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdvice(boolean create)
Convenience method to retrieve the
Message.ADVICE_FIELD and create it if it does not exist |
Map<String,Object> |
getDataAsMap(boolean create)
Convenience method to retrieve the
Message.DATA_FIELD and create it if it does not exist |
Map<String,Object> |
getExt(boolean create)
Convenience method to retrieve the
Message.EXT_FIELD and create it if it does not exist |
void |
setChannel(String channel) |
void |
setClientId(String clientId) |
void |
setData(Object data) |
void |
setId(String id) |
void |
setSuccessful(boolean successful) |
getAdvice, getChannel, getChannelId, getClientId, getData, getDataAsMap, getExt, getId, getJSON, isMeta, isPublishReply, isSuccessfulMap<String,Object> getAdvice(boolean create)
Message.ADVICE_FIELD and create it if it does not existcreate - whether to create the advice field if it does not existMap<String,Object> getDataAsMap(boolean create)
Message.DATA_FIELD and create it if it does not existcreate - whether to create the data field if it does not existMap<String,Object> getExt(boolean create)
Message.EXT_FIELD and create it if it does not existcreate - whether to create the ext field if it does not existvoid setChannel(String channel)
channel - the channel of this messagevoid setClientId(String clientId)
clientId - the client id of this messagevoid setData(Object data)
data - the data of this messagevoid setId(String id)
id - the id of this messagevoid setSuccessful(boolean successful)
successful - the successfulness of this messageCopyright © 2008-2012 Dojo Foundation. All Rights Reserved.