Package | Description |
---|---|
org.simpleframework.http.socket | |
org.simpleframework.http.socket.service |
Modifier and Type | Method and Description |
---|---|
void |
FrameListener.onClose(Session session,
Reason reason)
This is called when the connection is closed from the other
side.
|
void |
FrameListener.onError(Session session,
Exception cause)
This is called when an error occurs on the WebSocket.
|
void |
FrameListener.onFrame(Session session,
Frame frame)
This is called when a new frame arrives on the WebSocket.
|
Modifier and Type | Method and Description |
---|---|
void |
Service.connect(Session session)
This method connects a new session with a service implementation.
|
Copyright © 2017. All rights reserved.