public class HmtpReader
extends java.lang.Object
Constructor and Description |
---|
HmtpReader() |
HmtpReader(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
init(java.io.InputStream is) |
boolean |
isDataAvailable()
Returns true if buffered read data is already available, i.e.
|
boolean |
readPacket(java.io.InputStream is,
MessageStream actorStream)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
void |
setId(java.lang.String id) |
java.lang.String |
toString() |
public HmtpReader()
public HmtpReader(java.io.InputStream is)
public void setId(java.lang.String id)
public void init(java.io.InputStream is)
public boolean isDataAvailable()
public boolean readPacket(java.io.InputStream is, MessageStream actorStream) throws java.io.IOException
java.io.IOException
public void close()
public java.lang.String toString()
toString
in class java.lang.Object