org.apache.mina.transport.vmpipe
Class VmPipeAcceptor

java.lang.Object
  extended by org.apache.mina.common.support.BaseIoSessionManager
      extended by org.apache.mina.common.support.BaseIoAcceptor
          extended by 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)

Field Summary
 
Fields inherited from class org.apache.mina.common.support.BaseIoSessionManager
exceptionMonitor, filterChainBuilder
 
Constructor Summary
VmPipeAcceptor()
           
 
Method Summary
 void bind(SocketAddress address, IoHandler handler, IoFilterChainBuilder filterChainBuilder)
          Binds to the specified address and handles incoming connections with the specified handler.
 void unbind(SocketAddress address)
          Unbinds from the specified address and disconnects all clients connected there.
 
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
 
Methods inherited from interface org.apache.mina.common.IoSessionManager
getFilterChain, getFilterChainBuilder, setFilterChainBuilder
 

Constructor Detail

VmPipeAcceptor

public VmPipeAcceptor()
Method Detail

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.