org.cometd.bayeux.server
Interface ServerMessage.Mutable

All Superinterfaces:
Map<String,Object>, Message, Message.Mutable, ServerMessage
Enclosing interface:
ServerMessage

public static interface ServerMessage.Mutable
extends ServerMessage, Message.Mutable

The mutable version of a ServerMessage


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cometd.bayeux.server.ServerMessage
ServerMessage.Mutable
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.cometd.bayeux.Message
ADVICE_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, TIMESTAMP_FIELD, TRANSPORT_FIELD, VERSION_FIELD
 
Fields inherited from interface org.cometd.bayeux.Message
ADVICE_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, TIMESTAMP_FIELD, TRANSPORT_FIELD, VERSION_FIELD
 
Method Summary
 void setAssociated(ServerMessage.Mutable message)
           
 void setLazy(boolean lazy)
          A lazy message does not provoke immediately delivery to the client but it will be delivered at first occasion or after a timeout expires
 
Methods inherited from interface org.cometd.bayeux.server.ServerMessage
getAssociated, isLazy
 
Methods inherited from interface org.cometd.bayeux.Message
getAdvice, getChannel, getChannelId, getClientId, getData, getDataAsMap, getExt, getId, getJSON, isMeta, isSuccessful
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.cometd.bayeux.Message.Mutable
getAdvice, getDataAsMap, getExt, setChannel, setClientId, setData, setId, setSuccessful
 
Methods inherited from interface org.cometd.bayeux.Message
getAdvice, getChannel, getChannelId, getClientId, getData, getDataAsMap, getExt, getId, getJSON, isMeta, isSuccessful
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

setAssociated

void setAssociated(ServerMessage.Mutable message)
Parameters:
message - the message associated with this message

setLazy

void setLazy(boolean lazy)
A lazy message does not provoke immediately delivery to the client but it will be delivered at first occasion or after a timeout expires

Parameters:
lazy - whether the message is lazy


Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.