Class IncomeMessageProcessor

    • Method Detail

      • releaseListener

        public static void releaseListener​(int port)
      • getMessageProcessorForPort

        @Nullable
        public static IncomeMessageProcessor getMessageProcessorForPort​(int port)
      • notifyClosed

        public void notifyClosed​(@NotNull
                                 SocketChannel socketChannel)
        Close callback method Will be called by NIO framework, when it will decide to close connection
      • notifySessionClose

        public void notifySessionClose​(@NotNull
                                       ConnectionSession connectionSession)
        Close callback method Will be called by Connection.close() to let IncomeMessageProcessor remove the correspondent session from Map
        Specified by:
        notifySessionClose in interface SessionCloseListener