com.sun.grizzly.cometd
Interface CometdHandler
- All Superinterfaces:
- CometHandler
- All Known Implementing Classes:
- BayeuxCometHandler, BayeuxCometHandlerBase
public interface CometdHandler
- extends CometHandler
Specialized CometHandler interface that add support to Cometd Verbs
event.
- Author:
- Jeanfrancois Arcand
onHandshake
void onHandshake(CometEvent event)
throws IOException
- Throws:
IOException
onConnect
void onConnect(CometEvent event)
throws IOException
- Throws:
IOException
onDisconnect
void onDisconnect(CometEvent event)
throws IOException
- Throws:
IOException
onPing
void onPing(CometEvent event)
throws IOException
- Throws:
IOException
onStatus
void onStatus(CometEvent event)
throws IOException
- Throws:
IOException
onReconnect
void onReconnect(CometEvent event)
throws IOException
- Throws:
IOException
onSubscribe
void onSubscribe(CometEvent event)
throws IOException
- Throws:
IOException
onUnsubscribe
void onUnsubscribe(CometEvent event)
throws IOException
- Throws:
IOException
onPublish
void onPublish(CometEvent event)
throws IOException
- Throws:
IOException
getChannel
String getChannel()
setChannel
void setChannel(String channel)
Copyright © 2011 SUN Microsystems. All Rights Reserved.