org.atmosphere.samples.server
Class GwtRpcAtmosphereHandler

java.lang.Object
  extended by org.atmosphere.handler.AbstractReflectorAtmosphereHandler
      extended by org.atmosphere.samples.server.GwtRpcAtmosphereHandler
All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereHandler

public class GwtRpcAtmosphereHandler
extends org.atmosphere.handler.AbstractReflectorAtmosphereHandler

This is a simple handler example to show how to use GWT RPC serialization

Author:
p.havelaar

Nested Class Summary
 
Nested classes/interfaces inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
org.atmosphere.handler.AbstractReflectorAtmosphereHandler.Default
 
Constructor Summary
GwtRpcAtmosphereHandler()
           
 
Method Summary
 void destroy()
           
 void doGet(org.atmosphere.cpr.AtmosphereResource ar)
           
 void doPost(org.atmosphere.cpr.AtmosphereResource ar)
          receive push message from client
 void onRequest(org.atmosphere.cpr.AtmosphereResource ar)
           
 
Methods inherited from class org.atmosphere.handler.AbstractReflectorAtmosphereHandler
onStateChange, postStateChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GwtRpcAtmosphereHandler

public GwtRpcAtmosphereHandler()
Method Detail

onRequest

public void onRequest(org.atmosphere.cpr.AtmosphereResource ar)
               throws IOException
Throws:
IOException

doGet

public void doGet(org.atmosphere.cpr.AtmosphereResource ar)

doPost

public void doPost(org.atmosphere.cpr.AtmosphereResource ar)
receive push message from client


destroy

public void destroy()
Specified by:
destroy in interface org.atmosphere.cpr.AtmosphereHandler
Overrides:
destroy in class org.atmosphere.handler.AbstractReflectorAtmosphereHandler


Copyright © 2014. All Rights Reserved.