org.cometd.bayeux.server
Interface ServerMessage
- All Superinterfaces:
- Map<String,Object>, Message
- All Known Subinterfaces:
- ServerMessage.Mutable
public interface ServerMessage
- extends Message
Representation of a server side message.
- Version:
- $Revision: 1483 $ $Date: 2009-03-04 14:56:47 +0100 (Wed, 04 Mar 2009) $
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| 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 |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
getAssociated
ServerMessage getAssociated()
- Returns:
- a message associated with this message on the server. Typically
this is a meta message that the current message is being sent in response
to.
isLazy
boolean isLazy()
- Returns:
- true if the message is lazy and should not force the session's queue to be flushed
asMutable
ServerMessage.Mutable asMutable()
- Returns:
- a
ServerMessage.Mutable version of this message
Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.