org.apache.mina.protocol.vmpipe
Class VmPipeAcceptor
java.lang.Object
org.apache.mina.common.BaseSessionManager
org.apache.mina.protocol.vmpipe.VmPipeAcceptor
- All Implemented Interfaces:
- SessionManager, ProtocolAcceptor, ProtocolSessionManager
public class VmPipeAcceptor
- extends BaseSessionManager
- implements ProtocolAcceptor
Binds the specified ProtocolProvider
to the specified
VmPipeAddress
.
- Version:
- $Rev: 210062 $, $Date: 2005-07-11 12:52:38 +0900 $
- Author:
- Trustin Lee (trustin@apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VmPipeAcceptor
public VmPipeAcceptor()
- Creates a new instance.
bind
public void bind(SocketAddress address,
ProtocolProvider protocolProvider)
throws IOException
- Description copied from interface:
ProtocolAcceptor
- Binds to the specified
address
and handles incoming
connections with the specified protocolProvider
.
- Specified by:
bind
in interface ProtocolAcceptor
- Throws:
IOException
- if failed to bind
unbind
public void unbind(SocketAddress address)
- Description copied from interface:
ProtocolAcceptor
- Unbinds from the specified
address
.
- Specified by:
unbind
in interface ProtocolAcceptor
getFilterChain
public ProtocolFilterChain getFilterChain()
- Description copied from interface:
ProtocolSessionManager
- Returns the filter chain that filters all events which is related
with sessions this manager manages.
- Specified by:
getFilterChain
in interface ProtocolSessionManager
Copyright © 2004-2005 . All Rights Reserved.