public interface ManagementRequestContext<A>
Modifier and Type | Interface and Description |
---|---|
static interface |
ManagementRequestContext.AsyncTask<A> |
Modifier and Type | Method and Description |
---|---|
void |
executeAsync(ManagementRequestContext.AsyncTask<A> task)
Execute an async task.
|
void |
executeAsync(ManagementRequestContext.AsyncTask<A> task,
Executor executor)
Execute an async task.
|
A |
getAttachment()
Get the attachment.
|
org.jboss.remoting3.Channel |
getChannel()
Get the underlying channel.
|
Integer |
getOperationId()
Get the current batch id for this operation.
|
ManagementProtocolHeader |
getRequestHeader()
Get the protocol header.
|
FlushableDataOutput |
writeMessage(ManagementProtocolHeader header)
Write a new message.
|
Integer getOperationId()
A getAttachment()
ActiveOperation.getAttachment()
null
org.jboss.remoting3.Channel getChannel()
ManagementProtocolHeader getRequestHeader()
void executeAsync(ManagementRequestContext.AsyncTask<A> task)
task
- the taskvoid executeAsync(ManagementRequestContext.AsyncTask<A> task, Executor executor)
task
- the taskexecutor
- the executorFlushableDataOutput writeMessage(ManagementProtocolHeader header) throws IOException
header
- the protocol headerIOException
Copyright © 2014 JBoss by Red Hat. All rights reserved.