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 java.io.IOException
- Throws:
java.io.IOException
onConnect
void onConnect(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onDisconnect
void onDisconnect(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onPing
void onPing(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onStatus
void onStatus(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onReconnect
void onReconnect(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onSubscribe
void onSubscribe(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onUnsubscribe
void onUnsubscribe(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
onPublish
void onPublish(CometEvent event)
throws java.io.IOException
- Throws:
java.io.IOException
getChannels
java.util.Collection<java.lang.String> getChannels()
addChannel
void addChannel(java.lang.String channel)
removeChannel
boolean removeChannel(java.lang.String channel)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.