public class HmtpWebSocketReader
extends java.lang.Object
Constructor and Description |
---|
HmtpWebSocketReader(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isDataAvailable() |
boolean |
readPacket(MessageStream actorStream)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
java.lang.String |
toString() |
public HmtpWebSocketReader(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public boolean readPacket(MessageStream actorStream) throws java.io.IOException
java.io.IOException
public boolean isDataAvailable() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public void close()