org.atmosphere.samples.server
Class ManagedGWTResource
java.lang.Object
org.atmosphere.samples.server.ManagedGWTResource
@ManagedService(path="/GwtRpcDemo/atmosphere/rpc",
interceptors={org.atmosphere.interceptor.AtmosphereResourceLifecycleInterceptor.class,org.atmosphere.client.TrackMessageSizeInterceptor.class,org.atmosphere.gwt20.server.GwtRpcInterceptor.class,org.atmosphere.interceptor.SuspendTrackerInterceptor.class,org.atmosphere.gwt20.managed.AtmosphereMessageInterceptor.class,org.atmosphere.interceptor.BroadcastOnPostAtmosphereInterceptor.class,org.atmosphere.interceptor.IdleResourceInterceptor.class})
public class ManagedGWTResource- extends Object
Super simple managed echo application that use two broadcaster for pushing data back to the client.
- Author:
- Jeanfrancois Arcand
|
Method Summary |
void |
disconnected(org.atmosphere.cpr.AtmosphereResourceEvent event)
|
void |
onReady(org.atmosphere.cpr.AtmosphereResource r)
|
void |
post(org.atmosphere.cpr.AtmosphereResource r)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedGWTResource
public ManagedGWTResource()
onReady
public void onReady(org.atmosphere.cpr.AtmosphereResource r)
disconnected
public void disconnected(org.atmosphere.cpr.AtmosphereResourceEvent event)
post
public void post(org.atmosphere.cpr.AtmosphereResource r)
Copyright © 2014. All Rights Reserved.