Class IdleStatusChecker


  • public class IdleStatusChecker
    extends Object
    Detects idle sessions and fires sessionIdle events to them. To be used for service unable to trigger idle events alone, like VmPipe or SerialTransport. Polling base transport are advised to trigger idle events alone, using the poll/select timeout.
    Author:
    Apache MINA Project
    • Constructor Detail

      • IdleStatusChecker

        public IdleStatusChecker()
        Creates a new instance of IdleStatusChecker
    • Method Detail

      • addSession

        public void addSession​(AbstractIoSession session)
        Add the session for being checked for idle.
        Parameters:
        session - the session to check