Uses of Class org.jgroups.ChannelClosedException

Uses in package org.jgroups.blocks

Constructors which throw type org.jgroups.ChannelClosedException

DistributedHashtable.DistributedHashtable(JChannel channel, boolean persistent, long state_timeout)
DistributedHashtable.DistributedHashtable(JChannel channel, long state_timeout)
DistributedHashtable.DistributedHashtable(PullPushAdapter adapter, Serializable id, long state_timeout)
Uses a user-provided PullPushAdapter to create the dispatcher rather than a Channel.
ReplicatedHashtable.ReplicatedHashtable(JChannel channel, long state_timeout)

Methods which throw type org.jgroups.ChannelClosedException

void
ReplicatedTree.fetchState(long timeout)
Fetch the group state from the current coordinator.
void
DistributedHashtable.init(long state_timeout)
void
void
DistributedHashtable.start(long state_timeout)
Fetches the state
void
DistributedQueue.start(long state_timeout)

Uses in package org.jgroups

Methods which throw type org.jgroups.ChannelClosedException

void
Channel.connect(String channel_name)
Connects the channel to a group.
void
EnsChannel.connect(String channel_name)
void
JChannel.connect(String channel_name)
Connects the channel to a group.
If the channel is already connected, an error message will be printed to the error log
If the channel is closed a ChannelClosed exception will be thrown
This method starts the protocol stack by calling ProtocolStack.start
then it sends an Event.CONNECT event down the stack and waits to receive a CONNECT_OK event
Once the CONNECT_OK event arrives from the protocol stack, any channel listeners are notified
and the channel is considered connected
boolean
Channel.getAllStates(Vector targets, long timeout)
Retrieve all states of the group members.
boolean
JChannel.getAllStates(Vector targets, long timeout)
Retrieves the current group state.
boolean
Channel.getState(Address target, long timeout)
Retrieve the state of the group.
boolean
JChannel.getState(Address target, long timeout)
Retrieves the current group state.
Object
Channel.peek(long timeout)
Returns the next message, view, block, suspect or other event without removing it from the queue.
Object
EnsChannel.peek(long timeout)
Object
JChannel.peek(long timeout)
Just peeks at the next message, view or block.
Object
Channel.receive(long timeout)
Receives a message, a view change or a block event.
Object
EnsChannel.receive(long timeout)
Object
JChannel.receive(long timeout)
Blocking receive method.
void
Channel.send(Address dst, Address src, Serializable obj)
Helper method.
void
EnsChannel.send(Address dst, Address src, Serializable obj)
void
JChannel.send(Address dst, Address src, Serializable obj)
creates a new message with the destination address, and the source address and the object as the message value
void
Sends a message to a (unicast) destination.
void
void
implementation of the Transport interface.
Sends a message through the protocol stack

Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.