org.apache.directory.mitosis.service.protocol.handler
Class ReplicationProtocolHandler
java.lang.Object
org.apache.directory.mitosis.service.protocol.handler.ReplicationProtocolHandler
- All Implemented Interfaces:
- org.apache.mina.common.IoHandler
- Direct Known Subclasses:
- ReplicationClientProtocolHandler, ReplicationServerProtocolHandler
public class ReplicationProtocolHandler
- extends java.lang.Object
- implements org.apache.mina.common.IoHandler
A MINA IoHandler that wraps a ReplicationContextHandler
and provides a default implementation of ReplicationContext.
- Version:
- $Rev$, $Date$
- Author:
- The Apache Directory Project (dev@directory.apache.org)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicationProtocolHandler
public ReplicationProtocolHandler(ReplicationInterceptor interceptor,
ReplicationContextHandler contextHandler)
getContext
public ReplicationContext getContext(org.apache.mina.common.IoSession session)
getContextHandler
public ReplicationContextHandler getContextHandler()
sessionCreated
public void sessionCreated(org.apache.mina.common.IoSession session)
throws java.lang.Exception
- Specified by:
sessionCreated in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
exceptionCaught
public void exceptionCaught(org.apache.mina.common.IoSession session,
java.lang.Throwable cause)
throws java.lang.Exception
- Specified by:
exceptionCaught in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
messageReceived
public void messageReceived(org.apache.mina.common.IoSession session,
java.lang.Object message)
throws java.lang.Exception
- Specified by:
messageReceived in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
messageSent
public void messageSent(org.apache.mina.common.IoSession session,
java.lang.Object message)
throws java.lang.Exception
- Specified by:
messageSent in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
sessionClosed
public void sessionClosed(org.apache.mina.common.IoSession session)
throws java.lang.Exception
- Specified by:
sessionClosed in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
sessionIdle
public void sessionIdle(org.apache.mina.common.IoSession session,
org.apache.mina.common.IdleStatus status)
throws java.lang.Exception
- Specified by:
sessionIdle in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
sessionOpened
public void sessionOpened(org.apache.mina.common.IoSession session)
throws java.lang.Exception
- Specified by:
sessionOpened in interface org.apache.mina.common.IoHandler
- Throws:
java.lang.Exception
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.