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_SUBJECT
Attachment whether the client should send the subject as part of the operation request.
|
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_SUBJECT
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 operationIOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.