|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface PushConnectionListener may be implemented to be notified of the connect and disconnect events of PushConnections.
PushConnectionManager.addPushConnectionListener(com.nexaweb.server.pushconnection.PushConnectionListener),
PushConnectionManager.removePushConnectionListener(com.nexaweb.server.pushconnection.PushConnectionListener)| Method Summary | |
void |
onConnect(PushConnection connection,
HttpServletRequest request)
This method is called when a client opens a PushConnection. |
void |
onDisconnect(ServerSession session)
This method is called when a PushConnection is closed. |
| Method Detail |
public void onConnect(PushConnection connection,
HttpServletRequest request)
connection - The PushConnection that has just been opened.request - The HttpServletRequest that is opening the connection.public void onDisconnect(ServerSession session)
isValid()
method before using it.
session - The ServerSession which no longer has a
PushConnection.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||