Interface IoService

All Superinterfaces:
AutoCloseable, Channel, Closeable, Closeable, IoServiceEventListenerManager
All Known Subinterfaces:
IoAcceptor, IoConnector

public interface IoService extends Closeable, IoServiceEventListenerManager
Author:
Apache MINA SSHD Project
  • Field Details

  • Method Details

    • getManagedSessions

      Map<Long,IoSession> getManagedSessions()
      Returns the map of all sessions which are currently managed by this service. The key of map is the ID of the session.
      Returns:
      the sessions. An empty collection if there's no session.