org.apache.mina.common
Class BaseSessionManager

java.lang.Object
  extended by org.apache.mina.common.BaseSessionManager
All Implemented Interfaces:
SessionManager
Direct Known Subclasses:
DatagramAcceptor, DatagramConnector, SocketAcceptor, SocketConnector, VmPipeAcceptor, VmPipeConnector

public class BaseSessionManager
extends Object
implements SessionManager

Base implementation of SessionManagers.

Version:
$Rev: 332218 $, $Date: 2005-11-10 12:52:42 +0900 $
Author:
The Apache Directory Project (dev@directory.apache.org)

Field Summary
protected  ExceptionMonitor exceptionMonitor
          Current exception monitor.
 
Constructor Summary
protected BaseSessionManager()
           
 
Method Summary
 ExceptionMonitor getExceptionMonitor()
          Returns the current exception monitor.
 void setExceptionMonitor(ExceptionMonitor monitor)
          Sets the uncaught exception monitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exceptionMonitor

protected ExceptionMonitor exceptionMonitor
Current exception monitor.

Constructor Detail

BaseSessionManager

protected BaseSessionManager()
Method Detail

getExceptionMonitor

public ExceptionMonitor getExceptionMonitor()
Description copied from interface: SessionManager
Returns the current exception monitor.

Specified by:
getExceptionMonitor in interface SessionManager

setExceptionMonitor

public void setExceptionMonitor(ExceptionMonitor monitor)
Description copied from interface: SessionManager
Sets the uncaught exception monitor. If null is specified, a new instance of DefaultExceptionMonitor will be set.

Specified by:
setExceptionMonitor in interface SessionManager
Parameters:
monitor - A new instance of DefaultExceptionMonitor is set if null is specified.


Copyright © 2004-2005 . All Rights Reserved.