|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.connection.ConnectionController
com.caucho.server.connection.TcpDuplexController
public class TcpDuplexController
Public API to control a http upgrade connection.
| Constructor Summary | |
|---|---|
TcpDuplexController(TcpServerRequest request,
TcpDuplexHandler handler)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the connection. |
TcpDuplexHandler |
getHandler()
Returns the handler |
long |
getIdleTimeMax()
Gets the max idle time. |
ReadStream |
getReadStream()
Returns the read stream. |
WriteStream |
getWriteStream()
Returns the write stream. |
boolean |
isDuplex()
Returns true for a duplex controller |
boolean |
serviceRead()
|
void |
setIdleTimeMax(long idleTime)
Sets the max idle time. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.server.connection.ConnectionController |
|---|
getConnection, isActive, isClosed, isTimeout, timeout, wake |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TcpDuplexController(TcpServerRequest request,
TcpDuplexHandler handler)
| Method Detail |
|---|
public boolean isDuplex()
isDuplex in class ConnectionControllerpublic void setIdleTimeMax(long idleTime)
public long getIdleTimeMax()
public ReadStream getReadStream()
public WriteStream getWriteStream()
public TcpDuplexHandler getHandler()
public void close()
close in class ConnectionControllerpublic boolean serviceRead()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||