Class ExistingChannelModelControllerClient

java.lang.Object
org.jboss.as.controller.client.impl.AbstractModelControllerClient
org.jboss.as.controller.client.impl.ExistingChannelModelControllerClient
All Implemented Interfaces:
Closeable, AutoCloseable, ModelControllerClient, org.jboss.as.protocol.mgmt.ManagementRequestHandlerFactory

public class ExistingChannelModelControllerClient extends AbstractModelControllerClient
Version:
$Revision: 1.1 $
Author:
Kabir Khan
  • Constructor Details

    • ExistingChannelModelControllerClient

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

    • getChannelAssociation

      protected org.jboss.as.protocol.mgmt.ManagementChannelAssociation getChannelAssociation() throws IOException
      Description copied from class: AbstractModelControllerClient
      Get the mgmt channel association.
      Specified by:
      getChannelAssociation in class AbstractModelControllerClient
      Returns:
      the channel association
      Throws:
      IOException
    • close

      public void close() throws IOException
      Throws:
      IOException
    • 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(org.jboss.remoting3.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