org.jboss.messaging.channel.plugins.handler
Class SharedChannel

java.lang.Object
  extended byorg.jboss.messaging.channel.plugins.handler.AbstractChannel (src) 
      extended byorg.jboss.messaging.channel.plugins.handler.SharedChannel
All Implemented Interfaces:
Channel (src)

public class SharedChannel
extends AbstractChannel (src)

A shared channel has multiple subscribers


Field Summary
 
Fields inherited from class org.jboss.messaging.channel.plugins.handler.AbstractChannel (src)
consumer, handler
 
Constructor Summary
SharedChannel(Consumer (src)  consumer, SharedChannelHandler (src)  handler)
          Create a new SharedChannel.
 
Methods inherited from class org.jboss.messaging.channel.plugins.handler.AbstractChannel (src)
close, receive, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedChannel

public SharedChannel(Consumer (src)  consumer,
                     SharedChannelHandler (src)  handler)
Create a new SharedChannel.

Parameters:
consumer - the consumer
handler - the handler