com.sun.grizzly.websockets
Class WebSocketAdapter
java.lang.Object
com.sun.grizzly.websockets.WebSocketAdapter
- All Implemented Interfaces:
- WebSocketListener
- Direct Known Subclasses:
- WebSocketApplication
public abstract class WebSocketAdapter
- extends Object
- implements WebSocketListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSocketAdapter
public WebSocketAdapter()
onClose
public void onClose(WebSocket socket)
throws IOException
- Specified by:
onClose in interface WebSocketListener
- Throws:
IOException
onConnect
public void onConnect(WebSocket socket)
throws IOException
- Specified by:
onConnect in interface WebSocketListener
- Throws:
IOException
onMessage
public void onMessage(WebSocket socket,
DataFrame frame)
throws IOException
- Specified by:
onMessage in interface WebSocketListener
- Throws:
IOException
Copyright © 2011 Oracle Corpration. All Rights Reserved.