chan.http.WebSocket.EventHandler |
Callback for read socket data.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback method. |
Callback method.
This method is invoked from a separate thread, so you should use synchronization
to access data from thread with running web socket. You can use store(String, Object)
and get(String)
methods for this purpose.
Parameters | |
---|---|
event |
WebSocket.Event :
Event data.
|