public class HmtpStream
extends java.lang.Object
| Constructor and Description |
|---|
HmtpStream(ClientSocketFactory socketPool,
ClientSocket stream,
Broker broker,
SecurityService security) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearIdleStartTime()
Clears the idle start time on a reset.
|
void |
close() |
HmtpWebSocketReader |
getHmtpReader() |
HmtpWebSocketWriter |
getHmtpWriter() |
long |
getIdleStartTime()
Returns the idle start time,
i.e.
|
boolean |
isIdleExpired()
Returns true if end of free time.
|
void |
setIdleStartTime(long idleStartTime)
Sets the idle start time.
|
java.lang.String |
toString() |
public HmtpStream(ClientSocketFactory socketPool, ClientSocket stream, Broker broker, SecurityService security) throws java.io.IOException
java.io.IOExceptionpublic HmtpWebSocketReader getHmtpReader()
public HmtpWebSocketWriter getHmtpWriter()
public long getIdleStartTime()
public void setIdleStartTime(long idleStartTime)
public void clearIdleStartTime()
public boolean isIdleExpired()
public void close()
public java.lang.String toString()
toString in class java.lang.Object