ReadonlybytesReadonlybytesReadonlychunkReadonlychunkendpoint URL the transport was connected to (set by connect)
ReadonlymaxReadonlymaxReadonlynamediagnostic name, useful in debug logs
number of times the owning channel has retried. Advisory; bumped by callers.
Optional ReadonlyparametersOPC UA UACP protocol version advertised in HEL
ReadonlyreceiveReadonlysendURI reported by the local application to the peer
overall timeout applied to the underlying socket / connection lifecycle
connect to endpointUrl and perform the UACP HEL/ACK handshake
gracefully disconnect; invokes callback when the underlying connection is closed
forcibly release resources (close the connection if still open)
simulate a connection break (used by reconnection logic in tests)
return the effective transport settings (maxChunkCount etc.)
true when disconnect() has started or the connection is gone
true when the underlying connection is open and usable
emit an ERR back to the peer and destroy the underlying connection
write a single UACP chunk to the transport
Optionalcallback: (err?: Error | null) => undefined
The minimal surface that ClientSecureChannelLayer (and anything else acting as a secure-channel client) uses from a transport. ClientTCP_transport already satisfies this interface; browser transports (e.g. a WebSocket-based one) must also satisfy it to be pluggable via IClientTransportFactory.
This interface is intentionally the smallest superset of what the existing
ClientTCP_transportexposes and that the secure-channel layer actually consumes, so adding new transports does not require replicating Node-specific machinery.