public interface OioWebSocket
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.