public static interface ServerMessage.Mutable extends ServerMessage, Message.Mutable
ServerMessage
ServerMessage.Mutable
ADVICE_FIELD, CHANNEL_FIELD, CLIENT_ID_FIELD, CONNECTION_TYPE_FIELD, DATA_FIELD, ERROR_FIELD, EXT_FIELD, ID_FIELD, INTERVAL_FIELD, MAX_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 |
---|---|
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
|
getAssociated, getBayeuxContext, getServerTransport, isLazy
getAdvice, getDataAsMap, getExt, setChannel, setClientId, setData, setId, setSuccessful
getAdvice, getChannel, getChannelId, getClientId, getData, getDataAsMap, getExt, getId, isMeta, isPublishReply, isSuccessful
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
void setAssociated(ServerMessage.Mutable message)
message
- the message associated with this messagevoid setLazy(boolean lazy)
lazy
- whether the message is lazyCopyright © 2008–2024 The CometD Project. All rights reserved.