public class RabbitMQBroadcaster
extends org.atmosphere.util.SimpleBroadcaster
implements com.rabbitmq.client.ShutdownListener
Broadcaster implementation based on RabbitMQasyncWriteFuture, bc, broadcasterListeners, broadcastOnResume, CACHED, candidateForPoolable, config, delayedBroadcast, destroyed, dispatchThread, initialized, lifeCycleListeners, messages, name, notifierFuture, POLLING_DEFAULT, resources, scope, sharedListeners, started, uniqueWriteQueue, uri, usingTokenIdForAttribute, waitTime, writeQueues, writeTimeoutInSecond| Constructor and Description |
|---|
RabbitMQBroadcaster() |
| Modifier and Type | Method and Description |
|---|---|
String |
getID() |
void |
init(org.atmosphere.cpr.AtmosphereConfig config) |
org.atmosphere.cpr.Broadcaster |
initialize(String id,
org.atmosphere.cpr.AtmosphereConfig config) |
org.atmosphere.cpr.Broadcaster |
initialize(String name,
URI uri,
org.atmosphere.cpr.AtmosphereConfig config) |
void |
outgoingBroadcast(Object message) |
protected void |
push(org.atmosphere.cpr.Deliver entry) |
void |
releaseExternalResources() |
void |
setID(String id) |
void |
shutdownCompleted(com.rabbitmq.client.ShutdownSignalException cause) |
broadcast, broadcast, broadcast, createBroadcasterConfig, prepareInvokeOnStateChange, queueWriteIO, setBroadcasterConfig, startaddAtmosphereResource, addBroadcasterLifeCyclePolicyListener, addBroadcasterListener, awaitAndBroadcast, broadcasterListeners, broadcastOnResume, broadcastOnResume, cacheAndSuspend, cacheLostMessage, cacheLostMessage, cacheLostMessage, cacheMessageOnIOException, checkCachedAndPush, currentLifecycleTask, currentLifecycleTask, delayBroadcast, delayBroadcast, deliverPush, destroy, dispatchMessages, endBroadcast, entryDone, executeAsyncWrite, executeBlockingWrite, filter, futureDone, getAsyncWriteHandler, getAtmosphereResources, getBroadcasterConfig, getBroadcasterLifeCyclePolicy, getBroadcastHandler, getScope, invokeOnStateChange, isDestroyed, killReactiveThreads, lifecycleHandler, lifecycleHandler, lifeCycleListeners, lifeCyclePolicy, messages, notifyAndAdd, notifyBroadcastListener, notifyOnAddAtmosphereResourceListener, notifyOnMessage, notifyOnRemoveAtmosphereResourceListener, onException, onException, outOfOrderBroadcastSupported, perRequestFilter, policy, reactiveThreadsCount, recentActivity, removeAtmosphereResource, removeAtmosphereResource, removeBroadcasterLifeCyclePolicyListener, removeBroadcasterListener, rename, resumeAll, retrieveTrackedBroadcast, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterLifeCyclePolicy, setScope, setSuspendPolicy, spawnReactor, toString, writeQueuespublic org.atmosphere.cpr.Broadcaster initialize(String id, org.atmosphere.cpr.AtmosphereConfig config)
initialize in class org.atmosphere.util.SimpleBroadcasterpublic void init(org.atmosphere.cpr.AtmosphereConfig config)
public org.atmosphere.cpr.Broadcaster initialize(String name, URI uri, org.atmosphere.cpr.AtmosphereConfig config)
initialize in interface org.atmosphere.cpr.Broadcasterinitialize in class org.atmosphere.cpr.DefaultBroadcasterpublic void setID(String id)
setID in interface org.atmosphere.cpr.BroadcastersetID in class org.atmosphere.cpr.DefaultBroadcasterpublic String getID()
getID in interface org.atmosphere.cpr.BroadcastergetID in class org.atmosphere.cpr.DefaultBroadcasterprotected void push(org.atmosphere.cpr.Deliver entry)
push in class org.atmosphere.cpr.DefaultBroadcasterpublic void outgoingBroadcast(Object message)
public void releaseExternalResources()
releaseExternalResources in interface org.atmosphere.cpr.BroadcasterreleaseExternalResources in class org.atmosphere.cpr.DefaultBroadcasterpublic void shutdownCompleted(com.rabbitmq.client.ShutdownSignalException cause)
shutdownCompleted in interface com.rabbitmq.client.ShutdownListenerCopyright © 2015. All Rights Reserved.