|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.atmosphere.cpr.DefaultBroadcaster
org.atmosphere.jersey.JerseyBroadcaster
org.atmosphere.samples.pubsub.PubSubBroadcaster
public class PubSubBroadcaster
A example of how to extends/replace Broadcaster by defining the
class value in META-INF/atmosphere.xml or by adding defining the org.atmosphere.cpr.broadcasterClass
init-param in web.xml.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.atmosphere.cpr.DefaultBroadcaster |
|---|
org.atmosphere.cpr.DefaultBroadcaster.Entry |
| Nested classes/interfaces inherited from interface org.atmosphere.cpr.Broadcaster |
|---|
org.atmosphere.cpr.Broadcaster.SCOPE |
| Field Summary |
|---|
| Fields inherited from class org.atmosphere.cpr.DefaultBroadcaster |
|---|
bc, delayedBroadcast, events, messages, name, scope, started |
| Constructor Summary | |
|---|---|
PubSubBroadcaster()
|
|
| Method Summary | |
|---|---|
protected void |
broadcast(org.atmosphere.cpr.AtmosphereResource r,
org.atmosphere.cpr.AtmosphereResourceEvent e)
|
| Methods inherited from class org.atmosphere.cpr.DefaultBroadcaster |
|---|
addAtmosphereResource, atmosphereResources, broadcast, broadcast, broadcast, delayBroadcast, delayBroadcast, destroy, filter, getAtmosphereResources, getBroadcasterConfig, getID, getScope, onException, push, removeAtmosphereResource, resumeAll, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterConfig, setID, setScope, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PubSubBroadcaster()
| Method Detail |
|---|
protected void broadcast(org.atmosphere.cpr.AtmosphereResource r,
org.atmosphere.cpr.AtmosphereResourceEvent e)
broadcast in class org.atmosphere.jersey.JerseyBroadcaster
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||