|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.atmosphere.cpr.DefaultBroadcaster
org.atmosphere.util.AbstractBroadcasterProxy
org.atmosphere.plugin.jgroups.JGroupsBroadcaster
public class JGroupsBroadcaster
Simple Broadcaster implementation based on JGroups
| Nested Class Summary | |
|---|---|
static class |
JGroupsBroadcaster.BroadcastMessage
|
| Nested classes/interfaces inherited from class org.atmosphere.cpr.DefaultBroadcaster |
|---|
DefaultBroadcaster.AsyncWriteToken, DefaultBroadcaster.Entry |
| Nested classes/interfaces inherited from interface org.atmosphere.cpr.Broadcaster |
|---|
Broadcaster.POLICY, Broadcaster.SCOPE |
| Field Summary |
|---|
| Fields inherited from class org.atmosphere.cpr.DefaultBroadcaster |
|---|
ASYNC_TOKEN, asyncWriteFuture, bc, broadcasterListeners, broadcastOnResume, CACHED, cacheStrategy, config, delayedBroadcast, destroyed, dispatchThread, lifeCycleListeners, messages, name, noOpsResource, notifierFuture, outOfOrderBroadcastSupported, resources, scope, started, uniqueWriteQueue, uri, waitTime, writeQueues, writeTimeoutInSecond |
| Constructor Summary | |
|---|---|
JGroupsBroadcaster(String id,
AtmosphereConfig config)
|
|
| Method Summary | |
|---|---|
void |
destroy()
|
void |
incomingBroadcast()
|
void |
outgoingBroadcast(Object message)
|
| Methods inherited from class org.atmosphere.util.AbstractBroadcasterProxy |
|---|
broadcast, broadcast, broadcast, broadcastReceivedMessage, getBroadcastHandler, invokeOnStateChange, reconfigure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JGroupsBroadcaster(String id,
AtmosphereConfig config)
| Method Detail |
|---|
public void incomingBroadcast()
incomingBroadcast in class AbstractBroadcasterProxypublic void outgoingBroadcast(Object message)
outgoingBroadcast in class AbstractBroadcasterProxypublic void destroy()
destroy in interface Broadcasterdestroy in class DefaultBroadcaster
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||