|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.network.listen.AsyncController
com.caucho.network.listen.SocketLinkDuplexController
@Module public class SocketLinkDuplexController
Public API to control a http upgrade connection.
Constructor Summary | |
---|---|
SocketLinkDuplexController(TcpSocketLink conn,
SocketLinkDuplexListener handler)
|
Method Summary | |
---|---|
void |
close()
|
void |
complete()
|
SocketLinkDuplexListener |
getHandler()
Returns the handler |
long |
getIdleTimeMax()
Gets the max idle time. |
ReadStream |
getReadStream()
Returns the read stream. |
TcpSocketLink |
getSocketLink()
Returns the socket link |
WriteStream |
getWriteStream()
Returns the write stream. |
boolean |
isCompleteRequested()
|
boolean |
isDuplex()
Returns true for a duplex controller |
void |
onClose()
Closes the connection. |
void |
requestComplete()
|
boolean |
serviceRead()
|
void |
setIdleTimeMax(long idleTime)
Sets the max idle time. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.network.listen.AsyncController |
---|
getMaxIdleTime, isAsyncStarted, isCometComplete, setMaxIdleTime, timeout, wake |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SocketLinkDuplexController(TcpSocketLink conn, SocketLinkDuplexListener handler)
Method Detail |
---|
public boolean isDuplex()
public void setIdleTimeMax(long idleTime)
public long getIdleTimeMax()
public TcpSocketLink getSocketLink()
public ReadStream getReadStream()
public WriteStream getWriteStream()
public boolean isCompleteRequested()
public void requestComplete()
public SocketLinkDuplexListener getHandler()
public boolean serviceRead()
public void complete()
complete
in class AsyncController
public void close()
close
in class AsyncController
public void onClose()
onClose
in class AsyncController
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 |