public interface TransactionalProtocolClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TransactionalProtocolClient.Operation
An operation wrapper.
|
static interface |
TransactionalProtocolClient.PreparedOperation<T extends TransactionalProtocolClient.Operation>
The prepared result.
|
static interface |
TransactionalProtocolClient.TransactionalOperationListener<T extends TransactionalProtocolClient.Operation>
The transactional operation listener.
|
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.remoting3.Attachments.Key<Boolean> |
SEND_IDENTITY
Attachment whether the client should send the identity as part of the operation request.
|
static org.jboss.remoting3.Attachments.Key<Boolean> |
SEND_IN_VM
Attachment whether the client should send a flag that allows IN-VM operation requests.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends TransactionalProtocolClient.Operation> |
execute(TransactionalProtocolClient.TransactionalOperationListener<T> listener,
T operation)
Execute an operation.
|
org.jboss.threads.AsyncFuture<OperationResponse> |
execute(TransactionalProtocolClient.TransactionalOperationListener<TransactionalProtocolClient.Operation> listener,
org.jboss.dmr.ModelNode operation,
OperationMessageHandler messageHandler,
OperationAttachments attachments)
Execute an operation.
|
static final org.jboss.remoting3.Attachments.Key<Boolean> SEND_IDENTITY
static final org.jboss.remoting3.Attachments.Key<Boolean> SEND_IN_VM
HC > server: HostControllerConnection > ManagedServer
org.jboss.threads.AsyncFuture<OperationResponse> execute(TransactionalProtocolClient.TransactionalOperationListener<TransactionalProtocolClient.Operation> listener, org.jboss.dmr.ModelNode operation, OperationMessageHandler messageHandler, OperationAttachments attachments) throws IOException
listener - the operation listeneroperation - the operationmessageHandler - the operation message handlerattachments - the operation attachmentsIOException<T extends TransactionalProtocolClient.Operation> org.jboss.threads.AsyncFuture<OperationResponse> execute(TransactionalProtocolClient.TransactionalOperationListener<T> listener, T operation) throws IOException
T - the operation typelistener - the operation listeneroperation - the operationIOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.