public interface IoAcceptor extends IoService
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BACKLOG |
DEFAULT_REUSE_ADDRESS
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT
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
static final int DEFAULT_BACKLOG
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–2022 The Apache Software Foundation. All rights reserved.