org.apache.sshd.common
Class AbstractSessionIoHandler

java.lang.Object
  extended by org.apache.mina.core.service.IoHandlerAdapter
      extended by org.apache.sshd.common.AbstractSessionIoHandler
All Implemented Interfaces:
org.apache.mina.core.service.IoHandler
Direct Known Subclasses:
AbstractSessionFactory

public abstract class AbstractSessionIoHandler
extends org.apache.mina.core.service.IoHandlerAdapter

TODO Add javadoc

Author:
Apache MINA SSHD Project

Constructor Summary
AbstractSessionIoHandler()
           
 
Method Summary
protected abstract  AbstractSession createSession(org.apache.mina.core.session.IoSession ioSession)
           
 void exceptionCaught(org.apache.mina.core.session.IoSession ioSession, Throwable cause)
           
 void messageReceived(org.apache.mina.core.session.IoSession ioSession, Object message)
           
 void sessionClosed(org.apache.mina.core.session.IoSession ioSession)
           
 void sessionCreated(org.apache.mina.core.session.IoSession ioSession)
           
 
Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter
messageSent, sessionIdle, sessionOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSessionIoHandler

public AbstractSessionIoHandler()
Method Detail

createSession

protected abstract AbstractSession createSession(org.apache.mina.core.session.IoSession ioSession)
                                          throws Exception
Throws:
Exception

sessionCreated

public void sessionCreated(org.apache.mina.core.session.IoSession ioSession)
                    throws Exception
Specified by:
sessionCreated in interface org.apache.mina.core.service.IoHandler
Overrides:
sessionCreated in class org.apache.mina.core.service.IoHandlerAdapter
Throws:
Exception

sessionClosed

public void sessionClosed(org.apache.mina.core.session.IoSession ioSession)
                   throws Exception
Specified by:
sessionClosed in interface org.apache.mina.core.service.IoHandler
Overrides:
sessionClosed in class org.apache.mina.core.service.IoHandlerAdapter
Throws:
Exception

exceptionCaught

public void exceptionCaught(org.apache.mina.core.session.IoSession ioSession,
                            Throwable cause)
                     throws Exception
Specified by:
exceptionCaught in interface org.apache.mina.core.service.IoHandler
Overrides:
exceptionCaught in class org.apache.mina.core.service.IoHandlerAdapter
Throws:
Exception

messageReceived

public void messageReceived(org.apache.mina.core.session.IoSession ioSession,
                            Object message)
                     throws Exception
Specified by:
messageReceived in interface org.apache.mina.core.service.IoHandler
Overrides:
messageReceived in class org.apache.mina.core.service.IoHandlerAdapter
Throws:
Exception


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.