|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mina.common.BaseSessionManager org.apache.mina.protocol.vmpipe.VmPipeConnector
public class VmPipeConnector
Connects to ProtocolProvider
s which is bound on the specified
VmPipeAddress
.
Field Summary |
---|
Fields inherited from class org.apache.mina.common.BaseSessionManager |
---|
exceptionMonitor |
Constructor Summary | |
---|---|
VmPipeConnector()
Creates a new instance. |
Method Summary | |
---|---|
ProtocolSession |
connect(SocketAddress address,
int timeout,
ProtocolProvider protocolProvider)
Connects to the specified address with timeout. |
ProtocolSession |
connect(SocketAddress address,
ProtocolProvider protocolProvider)
Connects to the specified address . |
ProtocolSession |
connect(SocketAddress address,
SocketAddress localAddress,
int timeout,
ProtocolProvider protocolProvider)
Connects to the specified address with timeout. |
ProtocolSession |
connect(SocketAddress address,
SocketAddress localAddress,
ProtocolProvider protocolProvider)
Connects to the specified address . |
ProtocolFilterChain |
getFilterChain()
Returns the filter chain that filters all events which is related with sessions this manager manages. |
Methods inherited from class org.apache.mina.common.BaseSessionManager |
---|
getExceptionMonitor, setExceptionMonitor |
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.SessionManager |
---|
getExceptionMonitor, setExceptionMonitor |
Constructor Detail |
---|
public VmPipeConnector()
Method Detail |
---|
public ProtocolFilterChain getFilterChain()
ProtocolSessionManager
getFilterChain
in interface ProtocolSessionManager
public ProtocolSession connect(SocketAddress address, ProtocolProvider protocolProvider) throws IOException
ProtocolConnector
address
. If communication starts
successfully, events are fired to the specified
protocolProvider
. This method blocks.
connect
in interface ProtocolConnector
IOException
- if failed to connectpublic ProtocolSession connect(SocketAddress address, SocketAddress localAddress, ProtocolProvider protocolProvider) throws IOException
ProtocolConnector
address
. If communication starts
successfully, events are fired to the specified
protocolProvider
. This method blocks.
connect
in interface ProtocolConnector
localAddress
- the local address the channel is bound to
IOException
- if failed to connectpublic ProtocolSession connect(SocketAddress address, int timeout, ProtocolProvider protocolProvider) throws IOException
ProtocolConnector
address
with timeout. If
communication starts successfully, events are fired to the specified
protocolProvider
. This method blocks.
connect
in interface ProtocolConnector
IOException
- if failed to connectpublic ProtocolSession connect(SocketAddress address, SocketAddress localAddress, int timeout, ProtocolProvider protocolProvider) throws IOException
ProtocolConnector
address
with timeout. If
communication starts successfully, events are fired to the specified
protocolProvider
. This method blocks.
connect
in interface ProtocolConnector
localAddress
- the local address the channel is bound to
IOException
- if failed to connect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |