public class GAEGravity extends DefaultGravity
Gravity.ListenerBYTEARRAY_BODY_HEADER, ENCODE_MESSAGE_BODY_KEY, RECONNECT_INTERVAL_MS_KEY, RECONNECT_MAX_ATTEMPTS_KEY| Constructor and Description |
|---|
GAEGravity(GravityConfig gravityConfig,
ServicesConfig servicesConfig,
GraniteConfig graniteConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
access(java.lang.String channelId) |
protected <C extends Channel> |
createChannel(ChannelFactory<C> channelFactory,
java.lang.String channelId) |
<C extends Channel> |
getChannel(ChannelFactory<C> channelFactory,
java.lang.String channelId) |
void |
internalStart() |
protected void |
postManage(Channel channel) |
Channel |
removeChannel(java.lang.String channelId,
boolean timeout) |
cancel, execute, findChannelByClientId, findConnectedChannelsByUser, findCurrentChannel, getChannelIdleTimeoutMillis, getConnectedChannels, getConnectedChannelsByDestination, getConnectedUsers, getConnectedUsersByDestination, getCorePoolSize, getGraniteConfig, getGravityConfig, getGravityFactoryName, getKeepAliveTimeMillis, getLongPollingTimeoutMillis, getMaximumPoolSize, getMaxMessagesQueuedPerChannel, getQueueCapacity, getQueueRemainingCapacity, getQueueSize, getReconnectIntervalMillis, getReconnectMaxAttempts, getServiceAdapter, getServicesConfig, getUdpReceiverFactory, handleMessage, handleMessage, handleMessage, handleMessage, hasUdpReceiverFactory, initThread, isRetryOnError, isStarted, notifyAuthenticated, notifyConnected, notifyDisconnected, publishMessage, publishMessage, reconfigure, registerListener, releaseThread, restart, sendRequest, setChannelIdleTimeoutMillis, setCorePoolSize, setKeepAliveTimeMillis, setLongPollingTimeoutMillis, setMaximumPoolSize, setMaxMessagesQueuedPerChannel, setRetryOnError, start, stop, stop, unregisterListenerpublic GAEGravity(GravityConfig gravityConfig, ServicesConfig servicesConfig, GraniteConfig graniteConfig)
protected <C extends Channel> C createChannel(ChannelFactory<C> channelFactory, java.lang.String channelId)
createChannel in class DefaultGravitypublic <C extends Channel> C getChannel(ChannelFactory<C> channelFactory, java.lang.String channelId)
getChannel in interface GravityInternalgetChannel in class DefaultGravitypublic Channel removeChannel(java.lang.String channelId, boolean timeout)
removeChannel in interface GravityInternalremoveChannel in class DefaultGravitypublic boolean access(java.lang.String channelId)
access in interface GravityInternalaccess in class DefaultGravitypublic void internalStart()
internalStart in class DefaultGravityprotected void postManage(Channel channel)
postManage in class DefaultGravity