com.sun.grizzly.websockets
Interface WebSocketListener

All Known Implementing Classes:
WebSocketAdapter, WebSocketApplication

public interface WebSocketListener


Method Summary
 void onClose(WebSocket socket)
           
 void onConnect(WebSocket socket)
           
 void onMessage(WebSocket socket, DataFrame frame)
           
 

Method Detail

onClose

void onClose(WebSocket socket)
             throws IOException
Throws:
IOException

onConnect

void onConnect(WebSocket socket)
               throws IOException
Throws:
IOException

onMessage

void onMessage(WebSocket socket,
               DataFrame frame)
               throws IOException
Throws:
IOException


Copyright © 2011 Oracle Corpration. All Rights Reserved.