|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CometController
Public API to control a comet connection.
| Method Summary | |
|---|---|
void |
close()
Closes the connection. |
java.lang.Object |
getAttribute(java.lang.String name)
Gets a request attribute. |
long |
getMaxIdleTime()
Gets the max idle time. |
boolean |
isClosed()
Returns true if the connection is closed. |
void |
removeAttribute(java.lang.String name)
Remove a request attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets a request attribute. |
void |
setMaxIdleTime(long idleTime)
Sets the max idle time. |
boolean |
wake()
Wakes the connection. |
| Method Detail |
|---|
void setMaxIdleTime(long idleTime)
long getMaxIdleTime()
java.lang.Object getAttribute(java.lang.String name)
void setAttribute(java.lang.String name,
java.lang.Object value)
void removeAttribute(java.lang.String name)
boolean wake()
boolean isClosed()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||