public class OpcWebSocketTransport extends AbstractTransport
| Constructor and Description |
|---|
OpcWebSocketTransport(UaStackClient client) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<io.netty.channel.Channel> |
channel()
Get a
Channel suitable for sending a request on. |
CompletableFuture<UaTransport> |
connect()
Connect this transport.
|
CompletableFuture<UaTransport> |
disconnect()
Disconnect this transport.
|
UaStackClientConfig |
getConfig()
Get the
UaStackClientConfig of the UaStackClient this transport instance belongs to. |
sendRequest, sendRequestpublic OpcWebSocketTransport(UaStackClient client)
public UaStackClientConfig getConfig()
AbstractTransportUaStackClientConfig of the UaStackClient this transport instance belongs to.getConfig in class AbstractTransportUaStackClientConfig of the UaStackClient this transport instance belongs to.public CompletableFuture<UaTransport> connect()
UaTransportSome 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.public CompletableFuture<UaTransport> disconnect()
UaTransportSome 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.public CompletableFuture<io.netty.channel.Channel> channel()
AbstractTransportChannel suitable for sending a request on.
The Channel must have a handler capable of matching inbound responses to pending outbound
UaTransportRequests.
channel in class AbstractTransportChannel suitable for sending a request on.Copyright © 2021. All rights reserved.