org.apache.catalina.cluster
クラス ClusterSessionBase

java.lang.Object
  |
  +--org.apache.catalina.cluster.ClusterSessionBase
直系の既知のサブクラス:
MulticastReceiver, MulticastSender

public abstract class ClusterSessionBase
extends java.lang.Object

This is an abstract implementation of ClusterSender and ClusterReceiver which provide basic functionallity shared by the two components.

バージョン:
$Revision: 1.3 $, $Date: 2001/07/22 20:25:06 $
作成者:
Bip Thelin

フィールドの概要
protected  StringManager sm
          The string manager for this package.
 
コンストラクタの概要
ClusterSessionBase()
           
 
メソッドの概要
 int getDebug()
          Get the debug level for this component
 Logger getLogger()
          Get the Logger for this component
abstract  java.lang.String getName()
           
 java.lang.String getSenderId()
          get the senderId used to identify messages being send or received in a Cluster.
 void log(java.lang.String message)
          The log method to use in the implementation
 void setDebug(int debug)
          Set the debug detail level for this component.
 void setLogger(Logger logger)
          Set the Logger for this component.
 void setSenderId(java.lang.String senderId)
          The senderId is a identifier used to identify different packagesin a Cluster.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

sm

protected StringManager sm
The string manager for this package.
コンストラクタの詳細

ClusterSessionBase

public ClusterSessionBase()
メソッドの詳細

setSenderId

public void setSenderId(java.lang.String senderId)
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.
パラメータ:
senderId - The senderId to use

getSenderId

public java.lang.String getSenderId()
get the senderId used to identify messages being send or received in a Cluster.
戻り値:
The senderId for this component

setDebug

public void setDebug(int debug)
Set the debug detail level for this component.
パラメータ:
debug - The debug level

getDebug

public int getDebug()
Get the debug level for this component
戻り値:
The debug level

setLogger

public void setLogger(Logger logger)
Set the Logger for this component.
パラメータ:
debug - The Logger to use with this component.

getLogger

public Logger getLogger()
Get the Logger for this component
戻り値:
The Logger associated with this component.

getName

public abstract java.lang.String getName()

log

public void log(java.lang.String message)
The log method to use in the implementation
パラメータ:
message - The message to be logged.


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.