public class OpcTcpTransport extends AbstractTransport implements UaTransport
| Constructor and Description |
|---|
OpcTcpTransport(UaStackClient client) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<io.netty.channel.Channel> |
channel()
Get a
Channel suitable for sending a request on. |
com.digitalpetri.netty.fsm.ChannelFsm |
channelFsm() |
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, sendRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendRequestpublic OpcTcpTransport(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.
connect in interface UaTransportUaTransport 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.
disconnect in interface UaTransportUaTransport 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.public com.digitalpetri.netty.fsm.ChannelFsm channelFsm()
ChannelFsm used by this transport.Copyright © 2022. All rights reserved.