Package org.apache.sshd.common.io
Interface IoService
-
- All Superinterfaces:
AutoCloseable
,Channel
,Closeable
,Closeable
,IoServiceEventListenerManager
- All Known Subinterfaces:
IoAcceptor
,IoConnector
- All Known Implementing Classes:
Nio2Acceptor
,Nio2Connector
,Nio2Service
public interface IoService extends Closeable, IoServiceEventListenerManager
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_REUSE_ADDRESS
Socket reuse address.-
Fields inherited from interface org.apache.sshd.common.Closeable
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Long,IoSession>
getManagedSessions()
Returns the map of all sessions which are currently managed by this service.-
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.IoServiceEventListenerManager
getIoServiceEventListener, setIoServiceEventListener
-
-
-
-
Field Detail
-
DEFAULT_REUSE_ADDRESS
static final boolean DEFAULT_REUSE_ADDRESS
Socket reuse address. SeeStandardSocketOptions.SO_REUSEADDR
- See Also:
- Constant Field Values
-
-