Package org.apache.sshd.common.io
Interface IoAcceptor
-
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
,Closeable
,IoService
,IoServiceEventListenerManager
- All Known Implementing Classes:
Nio2Acceptor
public interface IoAcceptor extends IoService
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from interface org.apache.sshd.common.io.IoService
DEFAULT_REUSE_ADDRESS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bind(SocketAddress address)
void
bind(Collection<? extends SocketAddress> addresses)
Set<SocketAddress>
getBoundAddresses()
void
unbind()
void
unbind(SocketAddress address)
void
unbind(Collection<? extends SocketAddress> addresses)
-
Methods inherited from interface org.apache.sshd.common.Closeable
addCloseFutureListener, close, close, isClosed, isClosing, isOpen, removeCloseFutureListener
-
Methods inherited from interface org.apache.sshd.common.io.IoService
getManagedSessions
-
Methods inherited from interface org.apache.sshd.common.io.IoServiceEventListenerManager
getIoServiceEventListener, setIoServiceEventListener
-
-
-
-
Method Detail
-
bind
void bind(Collection<? extends SocketAddress> addresses) throws IOException
- Throws:
IOException
-
bind
void bind(SocketAddress address) throws IOException
- Throws:
IOException
-
unbind
void unbind(Collection<? extends SocketAddress> addresses)
-
unbind
void unbind(SocketAddress address)
-
unbind
void unbind()
-
getBoundAddresses
Set<SocketAddress> getBoundAddresses()
-
-