A B D E I J M O P S T V

A

aggregate(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Retain Broadcast events until we have enough data.

B

buffer(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Buffer the first broadcast events until the second one happens.

D

delayPublish(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Delay for 5 seconds the executionof Broadcaster.broadcast(java.lang.Object) operation
delayPublishAndResume(String) - Method in class org.atmosphere.samples.pubsub.PubSub
 
delaySchedule(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Wait 5 seconds and then execute periodic Broadcaster.broadcast(java.lang.Object) operations.
destroy() - Method in class org.atmosphere.samples.pubsub.PubSub
 

E

EventsLogger - Class in org.atmosphere.samples.pubsub
 
EventsLogger() - Constructor for class org.atmosphere.samples.pubsub.EventsLogger
 

I

invokeOnStateChange(AtmosphereResource, AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.PubSubBroadcaster
 

J

JAXBBean - Class in org.atmosphere.samples.pubsub
 
JAXBBean() - Constructor for class org.atmosphere.samples.pubsub.JAXBBean
 
JAXBBean(String) - Constructor for class org.atmosphere.samples.pubsub.JAXBBean
 

M

manualDelayBroadcast(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Use the Broadcaster.delayBroadcast(java.lang.Object) directly instead of using the annotation.

O

onBroadcast(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
 
onClose(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
 
onDisconnect(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
 
onPreSuspend(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
onResume(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
 
onSuspend(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
 
onThrowable(AtmosphereResourceEvent) - Method in class org.atmosphere.samples.pubsub.EventsLogger
 
org.atmosphere.samples.pubsub - package org.atmosphere.samples.pubsub
 

P

publish(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Broadcast messahge to this server and also to other server using JGroups
publishWithXML(String) - Method in class org.atmosphere.samples.pubsub.PubSub
' Broadcast XML data using JAXB
PubSub - Class in org.atmosphere.samples.pubsub
Simple PubSub resource that demonstrate many functionality supported by Atmosphere.
PubSub() - Constructor for class org.atmosphere.samples.pubsub.PubSub
 
PubSubBroadcaster - Class in org.atmosphere.samples.pubsub
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.
PubSubBroadcaster(String, AtmosphereConfig) - Constructor for class org.atmosphere.samples.pubsub.PubSubBroadcaster
 

S

schedule(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Execute periodic Broadcaster.broadcast(java.lang.Object) operation.
scheduleAndResume(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Execute periodic Broadcaster.broadcast(java.lang.Object) operation and resume the suspended connection after the first broadcast operation.
subscribe() - Method in class org.atmosphere.samples.pubsub.PubSub
Suspend the response, and register a AtmosphereResourceEventListener that get notified when events occurs like client disconnection, broadcast or when the response get resumed.
subscribeAndResume() - Method in class org.atmosphere.samples.pubsub.PubSub
Suspend the response, and tell teh framework to resume the response \ when the first @Broadcast operation occurs.
subscribeAndResumeUsingExternalThread(String) - Method in class org.atmosphere.samples.pubsub.PubSub
Suspend the response, and register a AtmosphereResourceEventListener that get notified when events occurs like client disconnection, broadcast or when the response get resumed.

T

timeout() - Method in class org.atmosphere.samples.pubsub.PubSub
Timeout the resource

V

value - Variable in class org.atmosphere.samples.pubsub.JAXBBean
 

A B D E I J M O P S T V

Copyright © 2013. All Rights Reserved.