org.granite.gravity.jbossweb
Class JBossWebChannel

java.lang.Object
  extended by org.granite.gravity.AbstractChannel
      extended by org.granite.gravity.jbossweb.JBossWebChannel
All Implemented Interfaces:
Channel

public class JBossWebChannel
extends AbstractChannel

Author:
Franck WOLFF

Field Summary
 
Fields inherited from class org.granite.gravity.AbstractChannel
clientType, factory, gravity, httpReceiver, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, sessionId, subscriptions, udpReceiver
 
Constructor Summary
JBossWebChannel(Gravity gravity, String id, JBossWebChannelFactory factory, String clientType)
           
 
Method Summary
protected  AsyncHttpContext acquireAsyncHttpContext()
           
 void close()
           
 void destroy()
           
protected  boolean hasAsyncHttpContext()
           
protected  void releaseAsyncHttpContext(AsyncHttpContext context)
           
 void setHttpEvent(org.jboss.servlet.http.HttpEvent event)
           
 
Methods inherited from class org.granite.gravity.AbstractChannel
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, runReceived, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JBossWebChannel

public JBossWebChannel(Gravity gravity,
                       String id,
                       JBossWebChannelFactory factory,
                       String clientType)
Method Detail

setHttpEvent

public void setHttpEvent(org.jboss.servlet.http.HttpEvent event)

hasAsyncHttpContext

protected boolean hasAsyncHttpContext()
Specified by:
hasAsyncHttpContext in class AbstractChannel

acquireAsyncHttpContext

protected AsyncHttpContext acquireAsyncHttpContext()
Specified by:
acquireAsyncHttpContext in class AbstractChannel

releaseAsyncHttpContext

protected void releaseAsyncHttpContext(AsyncHttpContext context)
Specified by:
releaseAsyncHttpContext in class AbstractChannel

destroy

public void destroy()
Overrides:
destroy in class AbstractChannel

close

public void close()