org.apache.mina.transport.vmpipe.support
Class VmPipeFilterChain

java.lang.Object
  extended by org.apache.mina.common.support.AbstractIoFilterChain
      extended by org.apache.mina.transport.vmpipe.support.VmPipeFilterChain
All Implemented Interfaces:
IoFilterChain

public class VmPipeFilterChain
extends AbstractIoFilterChain


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.mina.common.IoFilterChain
IoFilterChain.Entry
 
Field Summary
 
Fields inherited from class org.apache.mina.common.support.AbstractIoFilterChain
CONNECT_FUTURE
 
Constructor Summary
VmPipeFilterChain(IoSession session)
           
 
Method Summary
protected  void doClose(IoSession session)
           
protected  void doWrite(IoSession session, IoFilter.WriteRequest writeRequest)
           
 void fireExceptionCaught(IoSession session, java.lang.Throwable cause)
          Fires a IoHandler.exceptionCaught(IoSession, Throwable) event.
 void fireFilterClose(IoSession session)
          Fires a IoSession.close() event.
 void fireFilterWrite(IoSession session, IoFilter.WriteRequest writeRequest)
          Fires a IoSession.write(Object) event.
 void fireMessageReceived(IoSession session, java.lang.Object message)
          Fires a IoFilterChain.fireMessageReceived(IoSession, Object) event.
 void fireMessageSent(IoSession session, IoFilter.WriteRequest request)
          Fires a IoHandler.sessionOpened(IoSession) event.
 void fireSessionClosed(IoSession session)
          Fires a IoHandler.sessionClosed(IoSession) event.
 void fireSessionCreated(IoSession session)
          Fires a IoHandler.sessionCreated(IoSession) event.
 void fireSessionIdle(IoSession session, IdleStatus status)
          Fires a IoHandler.sessionIdle(IoSession, IdleStatus) event.
 void fireSessionOpened(IoSession session)
          Fires a IoHandler.sessionOpened(IoSession) event.
 void start()
           
 
Methods inherited from class org.apache.mina.common.support.AbstractIoFilterChain
addAfter, addBefore, addFirst, addLast, clear, contains, contains, contains, finalize, get, getAll, getAllReversed, getEntry, getNextFilter, getSession, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmPipeFilterChain

public VmPipeFilterChain(IoSession session)
Method Detail

start

public void start()

fireFilterClose

public void fireFilterClose(IoSession session)
Description copied from interface: IoFilterChain
Fires a IoSession.close() event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireFilterClose in interface IoFilterChain
Overrides:
fireFilterClose in class AbstractIoFilterChain

fireFilterWrite

public void fireFilterWrite(IoSession session,
                            IoFilter.WriteRequest writeRequest)
Description copied from interface: IoFilterChain
Fires a IoSession.write(Object) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireFilterWrite in interface IoFilterChain
Overrides:
fireFilterWrite in class AbstractIoFilterChain

fireExceptionCaught

public void fireExceptionCaught(IoSession session,
                                java.lang.Throwable cause)
Description copied from interface: IoFilterChain
Fires a IoHandler.exceptionCaught(IoSession, Throwable) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireExceptionCaught in interface IoFilterChain
Overrides:
fireExceptionCaught in class AbstractIoFilterChain

fireMessageSent

public void fireMessageSent(IoSession session,
                            IoFilter.WriteRequest request)
Description copied from interface: IoFilterChain
Fires a IoHandler.sessionOpened(IoSession) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireMessageSent in interface IoFilterChain
Overrides:
fireMessageSent in class AbstractIoFilterChain

fireSessionClosed

public void fireSessionClosed(IoSession session)
Description copied from interface: IoFilterChain
Fires a IoHandler.sessionClosed(IoSession) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireSessionClosed in interface IoFilterChain
Overrides:
fireSessionClosed in class AbstractIoFilterChain

fireSessionCreated

public void fireSessionCreated(IoSession session)
Description copied from interface: IoFilterChain
Fires a IoHandler.sessionCreated(IoSession) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireSessionCreated in interface IoFilterChain
Overrides:
fireSessionCreated in class AbstractIoFilterChain

fireSessionIdle

public void fireSessionIdle(IoSession session,
                            IdleStatus status)
Description copied from interface: IoFilterChain
Fires a IoHandler.sessionIdle(IoSession, IdleStatus) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireSessionIdle in interface IoFilterChain
Overrides:
fireSessionIdle in class AbstractIoFilterChain

fireSessionOpened

public void fireSessionOpened(IoSession session)
Description copied from interface: IoFilterChain
Fires a IoHandler.sessionOpened(IoSession) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireSessionOpened in interface IoFilterChain
Overrides:
fireSessionOpened in class AbstractIoFilterChain

fireMessageReceived

public void fireMessageReceived(IoSession session,
                                java.lang.Object message)
Description copied from interface: IoFilterChain
Fires a IoFilterChain.fireMessageReceived(IoSession, Object) event. Most users don't need to call this method at all. Please use this method only when you implement a new transport or fire a virtual event.

Specified by:
fireMessageReceived in interface IoFilterChain
Overrides:
fireMessageReceived in class AbstractIoFilterChain

doWrite

protected void doWrite(IoSession session,
                       IoFilter.WriteRequest writeRequest)
Specified by:
doWrite in class AbstractIoFilterChain

doClose

protected void doClose(IoSession session)
Specified by:
doClose in class AbstractIoFilterChain