Uses of Class
org.javagroups.ChannelException

Packages that use ChannelException
org.javagroups   
org.javagroups.blocks   
org.javagroups.demos   
 

Uses of ChannelException in org.javagroups
 

Subclasses of ChannelException in org.javagroups
 class ChannelClosedException
           
 class ChannelNotConnectedException
           
 

Methods in org.javagroups that throw ChannelException
 Channel JChannelFactory.createChannel(java.lang.Object properties)
           
 void JChannel.connect(java.lang.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
 void JChannel.open()
          Opens the channel.
this does the following actions
1.
 Channel EnsChannelFactory.createChannel(java.lang.Object properties)
           
 Channel ChannelFactory.createChannel(java.lang.Object properties)
          Creates an instance implementing the Channel interface.
abstract  void Channel.connect(java.lang.String channel_name)
          Connects the channel to a group.
 void Channel.open()
          Re-opens a closed channel.
 

Constructors in org.javagroups that throw ChannelException
JChannel(boolean dummy)
          initializes the JChannel with its default settings and default protocol stack
JChannel()
          initializes the JChannel with its default settings and default protocol stack
JChannel(java.lang.Object properties)
          creates a new JChannel with the protocol stack as defined in the properties parameter.
EnsChannel()
           
EnsChannel(java.lang.Object props)
          Creates a new EnsChannel, which spawns an outboard process and connects to it.
EnsChannel(java.lang.Object props, java.lang.String transport_props, int outboard_port)
          Creates a new EnsChannel.
Channel()
          Hidden from clients
Channel(java.lang.Object properties)
          Creates a channel (initially not connected).
 

Uses of ChannelException in org.javagroups.blocks
 

Subclasses of ChannelException in org.javagroups.blocks
 class VoteException
          This exception is thrown when voting listener cannot vote on the specified decree.
 

Methods in org.javagroups.blocks that throw ChannelException
 boolean VotingAdapter.vote(java.lang.Object decree, int consensusType, long timeout)
          Performs actual voting on the VoteChannel using the JavaGroups facilities for communication.
 boolean VotingAdapter.vote(java.lang.Object decree, long timeout)
          Vote on the specified decree requiring all nodes to vote.
 boolean TwoPhaseVotingAdapter.vote(java.lang.Object decree, long timeout)
          Performs the two-phase voting on the decree.
 void LockManager.lock(java.lang.Object obj, java.lang.Object owner, int timeout)
          Obtain lock on obj for specified owner.
 void LockManager.unlock(java.lang.Object obj, java.lang.Object owner)
          Release lock on obj owned by specified owner.
 void DistributedLockManager.lock(java.lang.Object lockId, java.lang.Object owner, int timeout)
          Locks an object with lockId on behalf of the specified owner.
 void DistributedLockManager.unlock(java.lang.Object lockId, java.lang.Object owner)
          Unlocks an object with lockId on behalf of the specified owner.
 

Constructors in org.javagroups.blocks that throw ChannelException
DistributedHashtable(java.lang.String groupname, ChannelFactory factory, java.lang.String properties, long state_timeout)
          Creates a DistributedHashtable
DistributedHashtable(java.lang.String groupname, ChannelFactory factory, java.lang.String properties, boolean persistent, long state_timeout)
          Creates a DisttributedHashtable.
 

Uses of ChannelException in org.javagroups.demos
 

Methods in org.javagroups.demos that throw ChannelException
 void DistributedHashtableDemo.start(ChannelFactory factory, java.lang.String props, boolean persist)
           
 



Copyright © 2001,2002 www.javagroups.com . All Rights Reserved.