com.caucho.quercus.lib
Class WebSocketModule.QuercusWebSocketListener

java.lang.Object
  extended by com.caucho.quercus.lib.WebSocketModule.QuercusWebSocketListener
All Implemented Interfaces:
SocketLinkDuplexListener
Enclosing class:
WebSocketModule

public static class WebSocketModule.QuercusWebSocketListener
extends java.lang.Object
implements SocketLinkDuplexListener


Method Summary
 void onDisconnect(SocketLinkDuplexController context)
          Called when the connection closes
 void onRead(SocketLinkDuplexController context)
          Called when read data is available
 void onStart(SocketLinkDuplexController context)
          Called when the connection is established
 void onTimeout(SocketLinkDuplexController context)
          Called when the connection times out
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

onRead

public void onRead(SocketLinkDuplexController context)
Description copied from interface: SocketLinkDuplexListener
Called when read data is available

Specified by:
onRead in interface SocketLinkDuplexListener

onDisconnect

public void onDisconnect(SocketLinkDuplexController context)
Description copied from interface: SocketLinkDuplexListener
Called when the connection closes

Specified by:
onDisconnect in interface SocketLinkDuplexListener

onTimeout

public void onTimeout(SocketLinkDuplexController context)
Description copied from interface: SocketLinkDuplexListener
Called when the connection times out

Specified by:
onTimeout in interface SocketLinkDuplexListener

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

onStart

public void onStart(SocketLinkDuplexController context)
             throws java.io.IOException
Description copied from interface: SocketLinkDuplexListener
Called when the connection is established

Specified by:
onStart in interface SocketLinkDuplexListener
Throws:
java.io.IOException