public class RMIBroadcaster
extends org.atmosphere.util.AbstractBroadcasterProxy
This broadcaster is able, each time a message is broadcasted, to update the a cluster through RMI.
RMIPeerManagerASYNC_TOKEN, asyncWriteFuture, bc, broadcasterListeners, broadcastOnResume, CACHED, config, delayedBroadcast, destroyed, dispatchThread, initialized, lifeCycleListeners, messages, name, noOpsResource, notifierFuture, POLLING_DEFAULT, resources, scope, started, uniqueWriteQueue, uri, waitTime, writeQueues, writeTimeoutInSecond| Constructor and Description |
|---|
RMIBroadcaster() |
| Modifier and Type | Method and Description |
|---|---|
void |
broadcastReceivedMessage(Object message) |
void |
incomingBroadcast() |
org.atmosphere.cpr.Broadcaster |
initialize(String id,
org.atmosphere.cpr.AtmosphereConfig config)
Builds a new instance identified by the given ID.
|
void |
outgoingBroadcast(Object o) |
broadcast, broadcast, broadcast, getBroadcastHandler, initialize, invokeOnStateChange, reconfigureaddAtmosphereResource, addBroadcasterLifeCyclePolicyListener, addBroadcasterListener, awaitAndBroadcast, broadcastOnResume, broadcastOnResume, cacheAndSuspend, cacheLostMessage, cacheLostMessage, cacheLostMessage, cacheLostMessage, checkCachedAndPush, createBroadcasterConfig, delayBroadcast, delayBroadcast, deliverPush, destroy, dispatchMessages, entryDone, executeAsyncWrite, executeBlockingWrite, filter, futureDone, getAsyncWriteHandler, getAtmosphereResources, getBroadcasterConfig, getID, getScope, isDestroyed, killReactiveThreads, notifyAndAdd, notifyBroadcastListener, notifyDestroyListener, notifyEmptyListener, notifyIdleListener, notifyOnAddAtmosphereResourceListener, notifyOnRemoveAtmosphereResourceListener, onException, onException, perRequestFilter, prepareInvokeOnStateChange, push, queueWriteIO, reactiveThreadsCount, releaseExternalResources, removeAtmosphereResource, removeAtmosphereResource, removeBroadcasterLifeCyclePolicyListener, removeBroadcasterListener, resumeAll, retrieveTrackedBroadcast, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterConfig, setBroadcasterLifeCyclePolicy, setID, setScope, setSuspendPolicy, spawnReactor, start, toStringpublic org.atmosphere.cpr.Broadcaster initialize(String id, org.atmosphere.cpr.AtmosphereConfig config)
Builds a new instance identified by the given ID.
initialize in class org.atmosphere.cpr.DefaultBroadcasterid - the IDconfig - the configurationpublic void incomingBroadcast()
incomingBroadcast in class org.atmosphere.util.AbstractBroadcasterProxypublic void outgoingBroadcast(Object o)
outgoingBroadcast in class org.atmosphere.util.AbstractBroadcasterProxypublic void broadcastReceivedMessage(Object message)
broadcastReceivedMessage in class org.atmosphere.util.AbstractBroadcasterProxyCopyright © 2014. All Rights Reserved.