com.caucho.hmtp
Class HmtpWebSocketReader
java.lang.Object
com.caucho.hmtp.HmtpWebSocketReader
public class HmtpWebSocketReader
- extends java.lang.Object
HmtpReader stream handles client packets received from the server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HmtpWebSocketReader
public HmtpWebSocketReader(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
readPacket
public boolean readPacket(MessageStream actorStream)
throws java.io.IOException
- Reads the next HMTP packet from the stream, returning false on
end of file.
- Throws:
java.io.IOException
isDataAvailable
public boolean isDataAvailable()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
close
public void close()