A Cluster implementation. Responsible for setting up
a cluster and provides callers with a valid multicast receiver/sender.
author: Bip Thelin version: $Revision: 1.6 $, $Date: 2002/06/09 02:19:42 $
getInfo() Return descriptive information about this Cluster implementation and
the corresponding version number, in the format
<description>/<version>.
Returns a ClusterReceiver which is the interface
to use when receiving information in the Cluster. senderId is
used as a indentifier, only information send through the
ClusterSender with the same senderId can be received.
The ClusterReceiver
Returns a ClusterSender which is the interface
to use when sending information in the Cluster. senderId is
used as a identifier so that information sent through this
instance can only be used with the respectice
ClusterReceiver
The ClusterSender
Returns a collection containing ClusterMemberInfo
on the remote members of this Cluster. This method does
not include the local host, to retrieve
ClusterMemberInfo on the local host
use getLocalClusterInfo() instead.
Collection with all members in the Cluster
public void setCheckInterval(int checkInterval)(Code)
Set the time in seconds for this component to
Sleep before it checks for new received data in the Cluster
Parameters: checkInterval - The time to sleep
setClusterName
public void setClusterName(String clusterName)(Code)
Set the name of the cluster to join, if no cluster with
this name is present create one.
Parameters: clusterName - The clustername to join
Prepare for the beginning of active use of the public methods of this
component. This method should be called after configure(),
and before any of the public methods of the component are utilized.
exception: LifecycleException - if this component detects a fatal errorthat prevents this component from being used
Gracefully terminate the active use of the public methods of this
component. This method should be the last one called on a given
instance of this component.
exception: LifecycleException - if this component detects a fatal errorthat needs to be reported