com.sun.grizzly.websockets
Interface WebSocketListener
- All Known Implementing Classes:
- ChatApplication, StickiesApplication, WebSocketAdapter, WebSocketApplication
public interface WebSocketListener
onClose
void onClose(WebSocket socket)
onConnect
void onConnect(WebSocket socket)
onMessage
void onMessage(WebSocket socket,
String text)
onMessage
void onMessage(WebSocket socket,
byte[] bytes)
onPing
void onPing(WebSocket socket,
byte[] bytes)
onPong
void onPong(WebSocket socket,
byte[] bytes)
onFragment
void onFragment(WebSocket socket,
boolean last,
byte[] bytes)
Copyright © 2012 Oracle Corporation. All Rights Reserved.