org.apache.mina.transport.vmpipe
Class VmPipeAcceptor
java.lang.Object
org.apache.mina.common.support.BaseIoSessionManager
org.apache.mina.common.support.BaseIoAcceptor
org.apache.mina.transport.vmpipe.VmPipeAcceptor
- All Implemented Interfaces:
- IoAcceptor, IoSessionManager
public class VmPipeAcceptor
- extends org.apache.mina.common.support.BaseIoAcceptor
Binds the specified IoHandler
to the specified
VmPipeAddress
.
- Version:
- $Rev: 355016 $, $Date: 2005-12-08 16:00:30 +0900 (Thu, 08 Dec 2005) $
- Author:
- The Apache Directory Project (dev@directory.apache.org)
Fields inherited from class org.apache.mina.common.support.BaseIoSessionManager |
exceptionMonitor, filterChainBuilder |
Methods inherited from class org.apache.mina.common.support.BaseIoAcceptor |
bind, newSession |
Methods inherited from class org.apache.mina.common.support.BaseIoSessionManager |
getExceptionMonitor, getFilterChain, getFilterChainBuilder, setExceptionMonitor, setFilterChainBuilder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VmPipeAcceptor
public VmPipeAcceptor()
bind
public void bind(SocketAddress address,
IoHandler handler,
IoFilterChainBuilder filterChainBuilder)
throws IOException
- Description copied from interface:
IoAcceptor
- Binds to the specified
address
and handles incoming
connections with the specified handler
.
filterChainBuilder
- an IoFilterChainBuilder
that will modify the
IoFilterChain
of a newly created IoSession
- Throws:
IOException
- if failed to bind
unbind
public void unbind(SocketAddress address)
- Description copied from interface:
IoAcceptor
- Unbinds from the specified
address
and disconnects all clients
connected there.
Copyright © 2004-2005 . All Rights Reserved.