|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.cometd.BayeuxCometHandlerBase
public abstract class BayeuxCometHandlerBase
Constructor Summary | |
---|---|
BayeuxCometHandlerBase()
|
Method Summary | |
---|---|
void |
attach(Object attachment)
Attach an intance of E to this class. |
void |
onEvent(CometEvent event)
Receive CometEvent notification. |
void |
onInitialize(CometEvent event)
Receive CometEvent notification when the underlying
tcp communication is started by the client |
void |
onInterrupt(CometEvent event)
Receive CometEvent notification when the underlying
tcp communication is resumed by the Grizzly ARP. |
void |
onTerminate(CometEvent event)
Receive CometEvent notification when the underlying
tcp communication is closed by the CometHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.grizzly.cometd.CometdHandler |
---|
getChannel, onConnect, onDisconnect, onHandshake, onPing, onPublish, onReconnect, onStatus, onSubscribe, onUnsubscribe, setChannel |
Constructor Detail |
---|
public BayeuxCometHandlerBase()
Method Detail |
---|
public void onEvent(CometEvent event) throws IOException
CometHandler
CometEvent
notification.
onEvent
in interface CometHandler
IOException
public void attach(Object attachment)
CometHandler
attach
in interface CometHandler
public void onInitialize(CometEvent event) throws IOException
CometHandler
CometEvent
notification when the underlying
tcp communication is started by the client
onInitialize
in interface CometHandler
IOException
public void onTerminate(CometEvent event) throws IOException
CometHandler
CometEvent
notification when the underlying
tcp communication is closed by the CometHandler
onTerminate
in interface CometHandler
IOException
public void onInterrupt(CometEvent event) throws IOException
CometHandler
CometEvent
notification when the underlying
tcp communication is resumed by the Grizzly ARP.
onInterrupt
in interface CometHandler
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |