public interface IoAcceptor extends IoService
DEFAULT_REUSE_ADDRESS| Modifier and Type | Method and Description |
|---|---|
void |
bind(Collection<? extends SocketAddress> addresses) |
void |
bind(SocketAddress address) |
Set<SocketAddress> |
getBoundAddresses() |
void |
unbind() |
void |
unbind(Collection<? extends SocketAddress> addresses) |
void |
unbind(SocketAddress address) |
getManagedSessionsaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenergetIoServiceEventListener, setIoServiceEventListenervoid bind(Collection<? extends SocketAddress> addresses) throws IOException
IOExceptionvoid bind(SocketAddress address) throws IOException
IOExceptionvoid unbind(Collection<? extends SocketAddress> addresses)
void unbind(SocketAddress address)
void unbind()
Set<SocketAddress> getBoundAddresses()
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.