public class VmPipeAcceptor extends BaseIoAcceptor
IoHandler to the specified
VmPipeAddress.| 构造器和说明 |
|---|
VmPipeAcceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bind(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config)
Binds to the specified
address and handles incoming
connections with the specified handler. |
IoServiceConfig |
getDefaultConfig()
Returns the default configuration which is used when you didn't specify
any configuration.
|
void |
unbind(java.net.SocketAddress address)
Unbinds from the specified
address and disconnects all clients
connected there. |
void |
unbindAll()
Unbinds all addresses which were bound by this acceptor.
|
bind, newSessionaddListener, getFilterChain, getFilterChainBuilder, getListeners, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, getFilterChain, getFilterChainBuilder, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilderpublic void bind(java.net.SocketAddress address,
IoHandler handler,
IoServiceConfig config)
throws java.io.IOException
IoAcceptoraddress and handles incoming
connections with the specified handler.config - the configurationjava.io.IOException - if failed to bindpublic void unbind(java.net.SocketAddress address)
IoAcceptoraddress and disconnects all clients
connected there.public void unbindAll()
IoAcceptorpublic IoServiceConfig getDefaultConfig()
IoService