com.vaadin.server.communication
Class PushHandler

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
      extended by com.vaadin.server.communication.PushHandler
All Implemented Interfaces:
org.atmosphere.cpr.AtmosphereHandler, org.atmosphere.cpr.AtmosphereResourceEventListener

public class PushHandler
extends org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
implements org.atmosphere.cpr.AtmosphereHandler

Establishes bidirectional ("push") communication channels

Since:
7.1
Author:
Vaadin Ltd

Constructor Summary
PushHandler(VaadinServletService service)
           
 
Method Summary
 void destroy()
           
 void onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent event)
           
 void onRequest(org.atmosphere.cpr.AtmosphereResource resource)
           
 void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
           
 
Methods inherited from class org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
onBroadcast, onResume, onSuspend, onThrowable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushHandler

public PushHandler(VaadinServletService service)
Method Detail

onRequest

public void onRequest(org.atmosphere.cpr.AtmosphereResource resource)
Specified by:
onRequest in interface org.atmosphere.cpr.AtmosphereHandler

onStateChange

public void onStateChange(org.atmosphere.cpr.AtmosphereResourceEvent event)
                   throws java.io.IOException
Specified by:
onStateChange in interface org.atmosphere.cpr.AtmosphereHandler
Throws:
java.io.IOException

onDisconnect

public void onDisconnect(org.atmosphere.cpr.AtmosphereResourceEvent event)
Specified by:
onDisconnect in interface org.atmosphere.cpr.AtmosphereResourceEventListener
Overrides:
onDisconnect in class org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter

destroy

public void destroy()
Specified by:
destroy in interface org.atmosphere.cpr.AtmosphereHandler


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.