org.apache.mina.transport.vmpipe
Class VmPipeAcceptor
- IoAcceptor, IoService
public class VmPipeAcceptor
void | bind(SocketAddress address, IoHandler handler, IoServiceConfig config) - Binds to the specified
address and handles incoming
connections with the specified handler .
|
IoServiceConfig | getDefaultConfig()
|
void | unbind(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
public void bind(SocketAddress address,
IoHandler handler,
IoServiceConfig config)
throws IOException
Binds to the specified address
and handles incoming
connections with the specified handler
.
- bind in interface IoAcceptor
config
- the configuration
unbind
public void unbind(SocketAddress address)
Unbinds from the specified address
and disconnects all clients
connected there.
- unbind in interface IoAcceptor
unbindAll
public void unbindAll()
Unbinds all addresses which were bound by this acceptor.
- unbindAll in interface IoAcceptor