public class ExistingChannelModelControllerClient extends AbstractModelControllerClient
ModelControllerClient.Factory
Modifier | Constructor and Description |
---|---|
protected |
ExistingChannelModelControllerClient(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static ModelControllerClient |
createAndAdd(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler)
Create and add model controller handler to an existing management channel handler.
|
static ModelControllerClient |
createReceiving(Channel channel,
ExecutorService executorService)
Create a model controller client which is exclusively receiving messages on an existing channel.
|
protected org.jboss.as.protocol.mgmt.ManagementChannelAssociation |
getChannelAssociation()
Get the mgmt channel association.
|
execute, execute, execute, execute, executeAsync, executeAsync, executeOperation, executeOperationAsync, executeRequest, resolveHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeAsync, executeAsync
protected ExistingChannelModelControllerClient(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler)
protected org.jboss.as.protocol.mgmt.ManagementChannelAssociation getChannelAssociation() throws IOException
AbstractModelControllerClient
getChannelAssociation
in class AbstractModelControllerClient
IOException
public void close() throws IOException
IOException
public static ModelControllerClient createAndAdd(org.jboss.as.protocol.mgmt.ManagementChannelHandler handler)
handler
- the channel handlerpublic static ModelControllerClient createReceiving(Channel channel, ExecutorService executorService)
channel
- the channelexecutorService
- an executorCopyright © 2017 JBoss by Red Hat. All rights reserved.