public interface BoundServerChannel extends CloseableChannel
Modifier and Type | Method and Description |
---|---|
IoFuture<? extends BoundChannel> |
bind(SocketAddress address)
Add a binding.
|
Collection<? extends BoundChannel> |
getChannels()
Get the channels representing the individual bound servers.
|
ChannelListener.Setter<? extends BoundServerChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
close, getWorker
getOption, setOption, supportsOption
Collection<? extends BoundChannel> getChannels()
IoFuture<? extends BoundChannel> bind(SocketAddress address)
address
- the address to bind toChannelListener.Setter<? extends BoundServerChannel> getCloseSetter()
getCloseSetter
in interface CloseableChannel
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.