com.sun.enterprise.web.connector.grizzly.comet
Class CometEvent<E>

java.lang.Object
  extended by com.sun.grizzly.comet.CometEvent
      extended by com.sun.enterprise.web.connector.grizzly.comet.CometEvent<E>
All Implemented Interfaces:
Serializable

Deprecated. use CometEvent

public class CometEvent<E>
extends CometEvent

Simple event class used to pass information between CometHandler and the Comet implementation.

Author:
Jeanfrancois Arcand
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.grizzly.comet.CometEvent
attachment, INITIALIZE, INTERRUPT, NOTIFY, READ, TERMINATE, type, WRITE
 
Constructor Summary
CometEvent(int type, CometContext context)
          Deprecated.  
CometEvent(int type, CometContext context, E attachment)
          Deprecated.  
 
Method Summary
protected  void setCometContext(CometContext cometContext)
          Deprecated. 
protected  void setType(int type)
          Deprecated. Set the type of this object.
 
Methods inherited from class com.sun.grizzly.comet.CometEvent
attach, attachment, getCometContext, getType, setCometContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CometEvent

public CometEvent(int type,
                  CometContext context)
Deprecated. 

CometEvent

public CometEvent(int type,
                  CometContext context,
                  E attachment)
Deprecated. 
Method Detail

setType

protected void setType(int type)
Deprecated. 
Set the type of this object.

Overrides:
setType in class CometEvent
Parameters:
type - the type of this object

setCometContext

protected void setCometContext(CometContext cometContext)
Deprecated. 



Copyright © 2012 Oracle Corporation. All Rights Reserved.