| |
|
| java.lang.Object org.apache.catalina.cluster.ClusterSessionBase
All known Subclasses: org.apache.catalina.cluster.MulticastSender, org.apache.catalina.cluster.MulticastReceiver,
ClusterSessionBase | abstract public class ClusterSessionBase (Code) | | This is an abstract implementation of ClusterSender
and ClusterReceiver which provide basic functionallity
shared by the two components.
author: Bip Thelin version: $Revision: 1.3 $, $Date: 2001/07/22 20:25:06 $ |
Field Summary | |
protected StringManager | sm The string manager for this package. |
getDebug | public int getDebug()(Code) | | Get the debug level for this component
The debug level |
getLogger | public Logger getLogger()(Code) | | Get the Logger for this component
The Logger associated with this component. |
getSenderId | public String getSenderId()(Code) | | get the senderId used to identify messages being
send or received in a Cluster.
The senderId for this component |
log | public void log(String message)(Code) | | The log method to use in the implementation
Parameters: message - The message to be logged. |
setDebug | public void setDebug(int debug)(Code) | | Set the debug detail level for this component.
Parameters: debug - The debug level |
setLogger | public void setLogger(Logger logger)(Code) | | Set the Logger for this component.
Parameters: debug - The Logger to use with this component. |
setSenderId | public void setSenderId(String senderId)(Code) | | The senderId is a identifier used to identify different
packagesin a Cluster. Each package received or send through
the concrete implementation of this interface will have
the senderId set at runtime. Usually the senderId is the
name of the component that is using this component.
Parameters: senderId - The senderId to use |
|
|
|