Uses of Class
org.jgroups.ChannelException

Packages that use ChannelException
org.jgroups   
org.jgroups.blocks   
org.jgroups.conf   
org.jgroups.demos   
 

Uses of ChannelException in org.jgroups
 

Subclasses of ChannelException in org.jgroups
 class ChannelClosedException
           
 class ChannelNotConnectedException
           
 

Methods in org.jgroups that throw ChannelException
 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 JChannelFactory.createChannel()
          Creates a JChannel implementation of the Channel interface using the protocol stack configuration information specfied during construction of an instance of this factory.
 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 EnsChannelFactory.createChannel()
          No-Op implementation of the createChannel() method specified by the Channel interface.
 Channel ChannelFactory.createChannel(java.lang.Object properties)
          Deprecated. Channel factories should pass configuration information related to the protocol stack during construction or via another method before attempting to create any channels.
 Channel ChannelFactory.createChannel()
          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.jgroups that throw ChannelException
JChannelFactory(java.io.File properties)
          Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
JChannelFactory(org.w3c.dom.Element properties)
          Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
JChannelFactory(java.net.URL properties)
          Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
JChannelFactory(java.lang.String properties)
          Constructs a JChannel instance with the protocol stack configuration based upon the specified properties parameter.
JChannel()
          Constructs a JChannel instance with the protocol stack specified by the DEFAULT_PROTOCOL_STACK member.
JChannel(java.io.File properties)
          Constructs a JChannel instance with the protocol stack configuration contained by the specified file.
JChannel(org.w3c.dom.Element properties)
          Constructs a JChannel instance with the protocol stack configuration contained by the specified XML element.
JChannel(java.net.URL properties)
          Constructs a JChannel instance with the protocol stack configuration indicated by the specified URL.
JChannel(java.lang.String properties)
          Constructs a JChannel instance with the protocol stack configuration based upon the specified properties parameter.
JChannel(ProtocolStackConfigurator configurator)
          Constructs a JChannel instance with the protocol stack configuration contained by the protocol stack configurator parameter.
JChannel(java.lang.Object properties)
          Deprecated. Use the constructors with specific parameter types instead.
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.
 

Uses of ChannelException in org.jgroups.blocks
 

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

Methods in org.jgroups.blocks that throw ChannelException
 boolean VotingAdapter.vote(java.lang.Object decree, int consensusType, long timeout)
          Performs actual voting on the VoteChannel using the JGroups 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.jgroups.blocks that throw ChannelException
DistributedTree(PullPushAdapter adapter, java.io.Serializable id, long state_timeout)
           
DistributedQueue(java.lang.String groupname, ChannelFactory factory, java.lang.String properties, long state_timeout)
          Creates a DistributedQueue
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.jgroups.conf
 

Methods in org.jgroups.conf that throw ChannelException
static ProtocolStackConfigurator ConfiguratorFactory.getStackConfigurator(java.io.File file)
          Returns a protocol stack configurator based on the XML configuration provided at the specified URL.
static ProtocolStackConfigurator ConfiguratorFactory.getStackConfigurator(java.net.URL url)
          Returns a protocol stack configurator based on the XML configuration provided at the specified URL.
static ProtocolStackConfigurator ConfiguratorFactory.getStackConfigurator(org.w3c.dom.Element element)
          Returns a protocol stack configurator based on the XML configuration provided by the specified XML element.
static ProtocolStackConfigurator ConfiguratorFactory.getStackConfigurator(java.lang.String properties)
          Returns a protocol stack configurator based on the provided properties string.
 

Uses of ChannelException in org.jgroups.demos
 

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



Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.