public interface UaTransport
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<UaTransport> |
connect()
Connect this transport.
|
CompletableFuture<UaTransport> |
disconnect()
Disconnect this transport.
|
CompletableFuture<UaResponseMessage> |
sendRequest(UaRequestMessage request)
Send a
UaRequestMessage, returning a CompletableFuture representing the result of the operation. |
CompletableFuture<UaTransport> connect()
Some transports may actually be connection-less (e.g. HTTP), making this method a misnomer, but it should be called to initialize the transport regardless.
UaTransport instance.CompletableFuture<UaTransport> disconnect()
Some transports may actually be connection-less (e.g. HTTP), making this method a misnomer, but it should be called to un-initialize the transport regardless.
UaTransport instance.CompletableFuture<UaResponseMessage> sendRequest(UaRequestMessage request)
UaRequestMessage, returning a CompletableFuture representing the result of the operation.request - the UaRequestMessage to send.CompletableFuture representing the result of the operation.Copyright © 2022. All rights reserved.