Interface IoService

    • Field Detail

      • DEFAULT_REUSE_ADDRESS

        static final boolean DEFAULT_REUSE_ADDRESS
        Socket reuse address. See StandardSocketOptions.SO_REUSEADDR
        See Also:
        Constant Field Values
    • Method Detail

      • getManagedSessions

        java.util.Map<java.lang.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.