Class VmPipeFilterChain
- java.lang.Object
-
- org.apache.mina.common.support.AbstractIoFilterChain
-
- 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
Constructors Constructor Description VmPipeFilterChain(IoSession session)
-
Method Summary
-
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
-
-
-
-
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 aIoSession.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 interfaceIoFilterChain
- Overrides:
fireFilterClose
in classAbstractIoFilterChain
-
fireFilterWrite
public void fireFilterWrite(IoSession session, IoFilter.WriteRequest writeRequest)
Description copied from interface:IoFilterChain
Fires aIoSession.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 interfaceIoFilterChain
- Overrides:
fireFilterWrite
in classAbstractIoFilterChain
-
fireExceptionCaught
public void fireExceptionCaught(IoSession session, java.lang.Throwable cause)
Description copied from interface:IoFilterChain
Fires aIoHandler.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 interfaceIoFilterChain
- Overrides:
fireExceptionCaught
in classAbstractIoFilterChain
-
fireMessageSent
public void fireMessageSent(IoSession session, IoFilter.WriteRequest request)
Description copied from interface:IoFilterChain
Fires aIoHandler.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 interfaceIoFilterChain
- Overrides:
fireMessageSent
in classAbstractIoFilterChain
-
fireSessionClosed
public void fireSessionClosed(IoSession session)
Description copied from interface:IoFilterChain
Fires aIoHandler.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 interfaceIoFilterChain
- Overrides:
fireSessionClosed
in classAbstractIoFilterChain
-
fireSessionCreated
public void fireSessionCreated(IoSession session)
Description copied from interface:IoFilterChain
Fires aIoHandler.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 interfaceIoFilterChain
- Overrides:
fireSessionCreated
in classAbstractIoFilterChain
-
fireSessionIdle
public void fireSessionIdle(IoSession session, IdleStatus status)
Description copied from interface:IoFilterChain
Fires aIoHandler.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 interfaceIoFilterChain
- Overrides:
fireSessionIdle
in classAbstractIoFilterChain
-
fireSessionOpened
public void fireSessionOpened(IoSession session)
Description copied from interface:IoFilterChain
Fires aIoHandler.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 interfaceIoFilterChain
- Overrides:
fireSessionOpened
in classAbstractIoFilterChain
-
fireMessageReceived
public void fireMessageReceived(IoSession session, java.lang.Object message)
Description copied from interface:IoFilterChain
Fires aIoFilterChain.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 interfaceIoFilterChain
- Overrides:
fireMessageReceived
in classAbstractIoFilterChain
-
doWrite
protected void doWrite(IoSession session, IoFilter.WriteRequest writeRequest)
- Specified by:
doWrite
in classAbstractIoFilterChain
-
doClose
protected void doClose(IoSession session)
- Specified by:
doClose
in classAbstractIoFilterChain
-
-