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) |
getManagedSessions
addCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
getIoServiceEventListener, setIoServiceEventListener
void bind(Collection<? extends SocketAddress> addresses) throws IOException
IOException
void bind(SocketAddress address) throws IOException
IOException
void unbind(Collection<? extends SocketAddress> addresses)
void unbind(SocketAddress address)
void unbind()
Set<SocketAddress> getBoundAddresses()
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.