Class ExistingChannelModelControllerClient

    • Constructor Detail

      • ExistingChannelModelControllerClient

        protected ExistingChannelModelControllerClient​(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler)
    • Method Detail

      • createAndAdd

        public static ModelControllerClient createAndAdd​(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler)
        Create and add model controller handler to an existing management channel handler.
        Parameters:
        handler - the channel handler
        Returns:
        the created client
      • createReceiving

        public static ModelControllerClient createReceiving​(Channel channel,
                                                            ExecutorService executorService)
        Create a model controller client which is exclusively receiving messages on an existing channel.
        Parameters:
        channel - the channel
        executorService - an executor
        Returns:
        the created client