|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.catalina.cluster.ClusterSessionBase
This is an abstract implementation of ClusterSender
and ClusterReceiver
which provide basic functionallity
shared by the two components.
Field Summary | |
protected StringManager |
sm
The string manager for this package. |
Constructor Summary | |
ClusterSessionBase()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected StringManager sm
Constructor Detail |
public ClusterSessionBase()
Method Detail |
public void setSenderId(java.lang.String senderId)
senderId
- The senderId to usepublic java.lang.String getSenderId()
public void setDebug(int debug)
debug
- The debug levelpublic int getDebug()
public void setLogger(Logger logger)
logger
- The Logger to use with this component.public Logger getLogger()
public abstract java.lang.String getName()
public void log(java.lang.String message)
message
- The message to be logged.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |