## Uses of Class
org.jgroups.Channel

Packages that use Channel
Package | Description
--- | ---
org.jgroups | Provides top-level public JGroups classes such as Channel, Message, etc.
org.jgroups.blocks | Provides building blocks that are layered on top of channels.
org.jgroups.blocks.mux |
org.jgroups.demos | Provides demonstrations of JGroups functionality.
org.jgroups.mux |
org.jgroups.util | Provides useful functionality which cannot be assigned to any particular other package.

### Uses of Channel in org.jgroups

Subclasses of Channel in org.jgroups
Modifier and Type | Class and Description
--- | ---
`class` | `JChannel` JChannel is a pure Java implementation of Channel.

Methods in org.jgroups that return Channel
Modifier and Type | Method and Description
--- | ---
`Channel` | JChannelFactory.`createChannel()` Deprecated. Creates a `JChannel` implementation of the `Channel`interface using the protocol stack configuration information specfied during construction of an instance of this factory.``
`Channel` | ChannelFactory.`createChannel()` Deprecated. Create a new channel with the properties defined in the factory
`Channel` | JChannelFactory.`createChannel(java.lang.Object properties)` Deprecated. `JChannel`'s conversion to type-specific construction, and the subsequent deprecation of its `JChannel(Object)` constructor, necessitate the deprecation of this factory method as well. Type-specific protocol stack configuration should be specfied during construction of an instance of this factory.
`Channel` | ChannelFactory.`createChannel(java.lang.Object props)` Deprecated.
`Channel` | JChannelFactory.`createChannel(java.lang.String stack_name)` Deprecated.
`Channel` | ChannelFactory.`createChannel(java.lang.String stack_name)` Deprecated.
`Channel` | JChannelFactory.`createMultiplexerChannel(java.lang.String stack_name, java.lang.String id)` Deprecated. Use a shared transport instead of the multiplexer
`Channel` | ChannelFactory.`createMultiplexerChannel(java.lang.String stack_name, java.lang.String id)` Deprecated. Creates an implementation of the Channel using a given stack name and registering it under a given identity.
`Channel` | JChannelFactory.`createMultiplexerChannel(java.lang.String stack_name, java.lang.String id, boolean register_for_state_transfer, java.lang.String substate_id)` Deprecated. Use a shared transport instead of the multiplexer
`Channel` | ChannelFactory.`createMultiplexerChannel(java.lang.String stack_name, java.lang.String id, boolean register_for_state_transfer, java.lang.String substate_id)` Deprecated. Creates an implementation of the Channel using a given stack name and registering it under a given identity.

Methods in org.jgroups with parameters of type Channel
Modifier and Type | Method and Description
--- | ---
`void` | ChannelListenerAdapter.`channelClosed(Channel channel)`
`void` | ChannelListener.`channelClosed(Channel channel)`
`void` | ChannelListenerAdapter.`channelConnected(Channel channel)`
`void` | ChannelListener.`channelConnected(Channel channel)`
`void` | ChannelListenerAdapter.`channelDisconnected(Channel channel)`
`void` | ChannelListener.`channelDisconnected(Channel channel)`
`protected void` | Channel.`notifyChannelClosed(Channel c)`
`protected void` | Channel.`notifyChannelConnected(Channel c)`
`protected void` | Channel.`notifyChannelDisconnected(Channel c)`

### Uses of Channel in org.jgroups.blocks

Fields in org.jgroups.blocks declared as Channel
Modifier and Type | Field and Description
--- | ---
`protected Channel` | DistributedTree.`channel`
`protected Channel` | DistributedQueue.`channel`
`protected Channel` | MessageDispatcher.`channel`

Methods in org.jgroups.blocks that return Channel
Modifier and Type | Method and Description
--- | ---
`Channel` | ReplicatedTree.`getChannel()` Returns the Channel the DistributedTree is connected to
`Channel` | ReplicatedHashMap.`getChannel()`
`Channel` | NotificationBus.`getChannel()` Deprecated. Answers the Channel.
`Channel` | DistributedTree.`getChannel()` Returns the Channel the DistributedTree is connected to
`Channel` | DistributedQueue.`getChannel()`
`Channel` | MessageDispatcher.`getChannel()` Offers access to the underlying Channel.

Methods in org.jgroups.blocks with parameters of type Channel
Modifier and Type | Method and Description
--- | ---
`void` | PullPushAdapter.`channelClosed(Channel channel)` Deprecated.
`void` | RpcDispatcher.`channelClosed(Channel channel)`
`void` | PullPushAdapter.`channelConnected(Channel channel)` Deprecated.
`void` | RpcDispatcher.`channelConnected(Channel channel)`
`void` | PullPushAdapter.`channelDisconnected(Channel channel)` Deprecated.
`void` | RpcDispatcher.`channelDisconnected(Channel channel)`
`void` | MessageDispatcher.`setChannel(Channel ch)`

Constructors in org.jgroups.blocks with parameters of type Channel
Constructor and Description
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2)`
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, boolean deadlock_detection)` Deprecated.
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, boolean deadlock_detection, boolean concurrent_processing)` Deprecated.
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler)`
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean deadlock_detection)` Deprecated.
`MessageDispatcher(Channel channel, MessageListener l, MembershipListener l2, RequestHandler req_handler, boolean deadlock_detection, boolean concurrent_processing)` Deprecated.
`NotificationBus(Channel channel, java.lang.String bus_name)` Deprecated.
`ReplicatedHashMap(Channel channel)` Constructs a new ReplicatedHashMap with channel.
`ReplicatedHashMap(Channel channel, boolean persistent)` Constructs a new ReplicatedHashMap with channel and persistence option.
`ReplicatedHashMap(java.util.concurrent.ConcurrentMap<K,V> map, Channel channel, boolean persistent)` Constructs a new ReplicatedHashMap using provided map instance.
`RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj)`
`RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj, boolean deadlock_detection)` Deprecated.
`RpcDispatcher(Channel channel, MessageListener l, MembershipListener l2, java.lang.Object server_obj, boolean deadlock_detection, boolean concurrent_processing)` Deprecated.
`VotingAdapter(Channel channel)` Creates an instance of the VoteChannel that uses JGroups for communication between group members.

### Uses of Channel in org.jgroups.blocks.mux

Constructors in org.jgroups.blocks.mux with parameters of type Channel
Constructor and Description
`MuxMessageDispatcher(short scopeId, Channel channel, MessageListener messageListener, MembershipListener membershipListener, RequestHandler handler)`
`MuxRpcDispatcher(short scopeId, Channel channel, MessageListener messageListener, MembershipListener membershipListener, java.lang.Object serverObject)`

### Uses of Channel in org.jgroups.demos

Methods in org.jgroups.demos with parameters of type Channel
Modifier and Type | Method and Description
--- | ---
`void` | Draw.`channelClosed(Channel channel)`
`void` | Draw.`channelConnected(Channel channel)`
`void` | Draw.`channelDisconnected(Channel channel)`

Constructors in org.jgroups.demos with parameters of type Channel
Constructor and Description
`Draw(Channel channel)`
`Draw(Channel channel, boolean use_state, long state_timeout)`

### Uses of Channel in org.jgroups.mux

Subclasses of Channel in org.jgroups.mux
Modifier and Type | Class and Description
--- | ---
`class` | `MuxChannel` Deprecated.

Methods in org.jgroups.mux that return Channel
Modifier and Type | Method and Description
--- | ---
`Channel` | Multiplexer.`createMuxChannel(java.lang.String id, java.lang.String stack_name)` Deprecated.

### Uses of Channel in org.jgroups.util

Methods in org.jgroups.util with parameters of type Channel
Modifier and Type | Method and Description
--- | ---
`static void` | Util.`addFlush(Channel ch, FLUSH flush)`
`static void` | Util.`blockUntilViewsReceived(long timeout, long interval, Channel... channels)` Blocks until all channels have the same view
`static void` | Util.`close(Channel... channels)`
`static void` | Util.`close(Channel ch)`
`static void` | Util.`shutdown(Channel ch)` Drops messages to/from other members and then closes the channel.
`static boolean` | Util.`startFlush(Channel c)`
`static boolean` | Util.`startFlush(Channel c, int numberOfAttempts, long randomSleepTimeoutFloor, long randomSleepTimeoutCeiling)`
`static boolean` | Util.`startFlush(Channel c, java.util.List<Address> flushParticipants)`
`static boolean` | Util.`startFlush(Channel c, java.util.List<Address> flushParticipants, int numberOfAttempts, long randomSleepTimeoutFloor, long randomSleepTimeoutCeiling)`