public class GenericChannel extends AbstractChannel
clientType, factory, gravity, httpReceiver, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, sessionId, subscriptions, udpReceiver| Constructor and Description |
|---|
GenericChannel(Gravity gravity,
String id,
GenericChannelFactory factory,
String clientType) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncHttpContext |
acquireAsyncHttpContext() |
void |
close() |
void |
destroy() |
protected boolean |
hasAsyncHttpContext() |
boolean |
isLocal() |
void |
receive(AsyncMessage message) |
protected void |
releaseAsyncHttpContext(AsyncHttpContext context) |
void |
resume() |
void |
setContinuation(WaitingContinuation continuation) |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, removeSubscription, runPublish, runReceive, runReceived, toStringpublic GenericChannel(Gravity gravity, String id, GenericChannelFactory factory, String clientType)
public void setContinuation(WaitingContinuation continuation)
public void close()
public void resume()
public void receive(AsyncMessage message) throws MessageReceivingException
receive in interface Channelreceive in class AbstractChannelMessageReceivingExceptionprotected boolean hasAsyncHttpContext()
hasAsyncHttpContext in class AbstractChannelprotected void releaseAsyncHttpContext(AsyncHttpContext context)
releaseAsyncHttpContext in class AbstractChannelprotected AsyncHttpContext acquireAsyncHttpContext()
acquireAsyncHttpContext in class AbstractChannelpublic boolean isLocal()
public void destroy()
destroy in class AbstractChannel