|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.connection.ConnectionController
public class ConnectionController
Controls a tcp connection for comet.
| Constructor Summary | |
|---|---|
protected |
ConnectionController(Connection conn)
Creates a new TcpConnectionController. |
| Method Summary | |
|---|---|
void |
close()
Closes the connection. |
Connection |
getConnection()
|
boolean |
isActive()
Returns true if the connection is active. |
boolean |
isClosed()
Returns true if the connection is active. |
boolean |
isDuplex()
Returns true for a duplex controller |
boolean |
isTimeout()
Return true if timed out |
void |
timeout()
Sets the timeout. |
boolean |
wake()
Wakes the connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ConnectionController(Connection conn)
conn - The TCP connection| Method Detail |
|---|
public Connection getConnection()
public final boolean wake()
public boolean isDuplex()
public final void timeout()
public final boolean isTimeout()
public final boolean isActive()
public final boolean isClosed()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||