com.caucho.servlet.comet
Interface CometController

All Known Implementing Classes:
AsyncConnectionImpl, ConnectionCometController

Deprecated.

public interface CometController

Public API to control a comet connection.


Method Summary
 void close()
          Deprecated. Closes the connection.
 java.lang.Object getAttribute(java.lang.String name)
          Deprecated. Gets a request attribute.
 long getMaxIdleTime()
          Deprecated. Gets the max idle time.
 boolean isClosed()
          Deprecated. Returns true if the connection is closed.
 void removeAttribute(java.lang.String name)
          Deprecated. Remove a request attribute.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Deprecated. Sets a request attribute.
 void setMaxIdleTime(long idleTime)
          Deprecated. Sets the max idle time.
 boolean wake()
          Deprecated. Wakes the connection.
 

Method Detail

setMaxIdleTime

void setMaxIdleTime(long idleTime)
Deprecated. 
Sets the max idle time.


getMaxIdleTime

long getMaxIdleTime()
Deprecated. 
Gets the max idle time.


getAttribute

java.lang.Object getAttribute(java.lang.String name)
Deprecated. 
Gets a request attribute.


setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value)
Deprecated. 
Sets a request attribute.


removeAttribute

void removeAttribute(java.lang.String name)
Deprecated. 
Remove a request attribute.


wake

boolean wake()
Deprecated. 
Wakes the connection.


isClosed

boolean isClosed()
Deprecated. 
Returns true if the connection is closed.


close

void close()
Deprecated. 
Closes the connection.