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.
RMIPeerManagerasyncWriteFuture, 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 |
|---|
RMIBroadcaster() |
| Modifier and Type | Method and Description |
|---|---|
void |
broadcastReceivedMessage(java.lang.Object message) |
void |
incomingBroadcast() |
org.atmosphere.cpr.Broadcaster |
initialize(java.lang.String id,
org.atmosphere.cpr.AtmosphereConfig config)
Builds a new instance identified by the given ID.
|
void |
outgoingBroadcast(java.lang.Object o) |
b, broadcast, broadcast, broadcast, getBroadcastHandler, initialize, invokeOnStateChange, reconfigureaddAtmosphereResource, addBroadcasterLifeCyclePolicyListener, addBroadcasterListener, awaitAndBroadcast, broadcasterListeners, broadcastOnResume, broadcastOnResume, cacheAndSuspend, cacheLostMessage, cacheLostMessage, cacheLostMessage, cacheMessageOnIOException, checkCachedAndPush, createBroadcasterConfig, currentLifecycleTask, currentLifecycleTask, delayBroadcast, delayBroadcast, deliverPush, destroy, dispatchMessages, endBroadcast, entryDone, executeAsyncWrite, executeBlockingWrite, filter, futureDone, getAsyncWriteHandler, getAtmosphereResources, getBroadcasterConfig, getBroadcasterLifeCyclePolicy, getID, getScope, isDestroyed, killReactiveThreads, lifecycleHandler, lifecycleHandler, lifeCycleListeners, lifeCyclePolicy, messages, notifyAndAdd, notifyBroadcastListener, notifyOnAddAtmosphereResourceListener, notifyOnMessage, notifyOnRemoveAtmosphereResourceListener, onException, onException, outOfOrderBroadcastSupported, perRequestFilter, policy, prepareInvokeOnStateChange, push, queueWriteIO, reactiveThreadsCount, recentActivity, releaseExternalResources, removeAtmosphereResource, removeAtmosphereResource, removeBroadcasterLifeCyclePolicyListener, removeBroadcasterListener, rename, resumeAll, retrieveTrackedBroadcast, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterConfig, setBroadcasterLifeCyclePolicy, setID, setScope, setSuspendPolicy, spawnReactor, start, toString, writeQueuespublic org.atmosphere.cpr.Broadcaster initialize(java.lang.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(java.lang.Object o)
outgoingBroadcast in class org.atmosphere.util.AbstractBroadcasterProxypublic void broadcastReceivedMessage(java.lang.Object message)
broadcastReceivedMessage in class org.atmosphere.util.AbstractBroadcasterProxyCopyright © 2019. All Rights Reserved.