com.sun.grizzly.cometd
Class BayeuxCometHandlerBase

java.lang.Object
  extended by com.sun.grizzly.cometd.BayeuxCometHandlerBase
All Implemented Interfaces:
CometHandler, CometdHandler
Direct Known Subclasses:
BayeuxCometHandler

public abstract class BayeuxCometHandlerBase
extends java.lang.Object
implements CometdHandler

Author:
Jeanfrancois Arcand

Constructor Summary
BayeuxCometHandlerBase()
           
 
Method Summary
 void attach(java.lang.Object attachment)
           
 void onEvent(CometEvent event)
           
 void onInitialize(CometEvent event)
           
 void onInterrupt(CometEvent event)
           
 void onTerminate(CometEvent event)
           
 
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
addChannel, getChannels, onConnect, onDisconnect, onHandshake, onPing, onPublish, onReconnect, onStatus, onSubscribe, onUnsubscribe, removeChannel
 

Constructor Detail

BayeuxCometHandlerBase

public BayeuxCometHandlerBase()
Method Detail

onEvent

public void onEvent(CometEvent event)
             throws java.io.IOException
Specified by:
onEvent in interface CometHandler
Throws:
java.io.IOException

attach

public void attach(java.lang.Object attachment)
Specified by:
attach in interface CometHandler

onInitialize

public void onInitialize(CometEvent event)
                  throws java.io.IOException
Specified by:
onInitialize in interface CometHandler
Throws:
java.io.IOException

onTerminate

public void onTerminate(CometEvent event)
                 throws java.io.IOException
Specified by:
onTerminate in interface CometHandler
Throws:
java.io.IOException

onInterrupt

public void onInterrupt(CometEvent event)
                 throws java.io.IOException
Specified by:
onInterrupt in interface CometHandler
Throws:
java.io.IOException


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.