Class ManagerMessageHandler

  • All Implemented Interfaces:,,

    public class ManagerMessageHandler
    This handler dispatches requests and responses against the cluster manager service.

    Note that since one of the messages is a long streaming connection to get continuous updates on configs, the channel might be occupied for a long time. As a result, the upper layers (service pooling) need to be responsible for opening another handler if all the current ones are occupied.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelActive​( ctx)  
      void channelInactive​( ctx)  
      void channelRead​( ctx, Object msg)  
      void userEventTriggered​( ctx, Object evt)  
      void write​( ctx, Object msg, promise)  
      • Methods inherited from class

        bind, close, connect, deregister, disconnect, flush, read
      • Methods inherited from class

        channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
      • Methods inherited from class

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from interface

        handlerAdded, handlerRemoved
    • Constructor Detail

    • Method Detail

      • channelActive

        public void channelActive​( ctx)
        Specified by:
        channelActive in interface
        channelActive in class
      • write

        public void write​( ctx,
                          Object msg,
        Specified by:
        write in interface
        write in class
      • channelRead

        public void channelRead​( ctx,
                                Object msg)
        Specified by:
        channelRead in interface
        channelRead in class
      • channelInactive

        public void channelInactive​( ctx)
        Specified by:
        channelInactive in interface
        channelInactive in class
      • userEventTriggered

        public void userEventTriggered​( ctx,
                                       Object evt)
        Specified by:
        userEventTriggered in interface
        userEventTriggered in class