|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OioWebSocket
A WebSocket that blocks when you readFrame or writeFrame. Underneath, based on java.io.* a.k.a. Old IO (Oio).
Method Summary | |
---|---|
void |
closeSocket()
Terminates the connection with the client and closes the socket. |
String |
getSocketID()
A unique ID associated with the socket, which can be used for session association. |
Frame |
readFrame()
Read a single frame from the socket. |
void |
writeFrame(Frame frame)
Write a frame to the socket. |
Method Detail |
---|
String getSocketID()
Frame readFrame() throws IOException
Frame
IOException
void writeFrame(Frame frame) throws IOException
frame
- the @{link Frame} instance to write to the socket.
IOException
void closeSocket() throws IOException
IOException
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |