|
|||||||||
| 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.twitter.TwitterBroadcaster
public class TwitterBroadcaster
Simple Broadcaster that keep a reference to the user
| 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 | |
|---|---|
TwitterBroadcaster()
|
|
| Method Summary | |
|---|---|
org.atmosphere.cpr.AtmosphereResource |
addAtmosphereResource(org.atmosphere.cpr.AtmosphereResource r)
|
org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> |
getUserAtmosphereEvent()
Return the user (@link Broadcaster#getName}'s AtmosphereResourceEvent. |
void |
setUserAtmosphereEvent(org.atmosphere.cpr.AtmosphereResourceEvent event)
Set the user (@link Broadcaster#getName}'s AtmosphereResourceEvent. |
| Methods inherited from class org.atmosphere.jersey.JerseyBroadcaster |
|---|
broadcast |
| Methods inherited from class org.atmosphere.cpr.DefaultBroadcaster |
|---|
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 TwitterBroadcaster()
| Method Detail |
|---|
public void setUserAtmosphereEvent(org.atmosphere.cpr.AtmosphereResourceEvent event)
event - AtmosphereResourceEventpublic org.atmosphere.cpr.AtmosphereResourceEvent<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> getUserAtmosphereEvent()
public org.atmosphere.cpr.AtmosphereResource addAtmosphereResource(org.atmosphere.cpr.AtmosphereResource r)
addAtmosphereResource in interface org.atmosphere.cpr.BroadcasteraddAtmosphereResource in class org.atmosphere.cpr.DefaultBroadcaster
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||