public class TransportChannelSettings extends Object implements Cloneable
| Constructor and Description |
|---|
TransportChannelSettings()
Constructor for TransportChannelSettings.
|
TransportChannelSettings(EndpointDescription description,
EndpointConfiguration configuration,
Cert clientCertificate,
PrivKey privateKey,
CertificateValidator certificateValidator,
NamespaceTable namespaceUris)
Create Transport channel settings for a opctcp connection
|
TransportChannelSettings(EndpointDescription description,
EndpointConfiguration configuration,
KeyPair keypair,
CertificateValidator certValidator,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
Create Transport channel settings for a https connection
|
| Modifier and Type | Method and Description |
|---|---|
TransportChannelSettings |
clone() |
EndpointConfiguration |
getConfiguration()
Getter for the field
configuration. |
EndpointDescription |
getDescription()
Getter for the field
description. |
HttpsSettings |
getHttpsSettings()
Getter for the field
httpsSettings. |
NamespaceTable |
getNamespaceUris()
Getter for the field
namespaceUris. |
OpcTcpSettings |
getOpctcpSettings()
Getter for the field
opctcpSettings. |
Cert |
getServerCertificate()
getServerCertificate.
|
void |
readFrom(TransportChannelSettings tcs)
readFrom.
|
void |
setConfiguration(EndpointConfiguration configuration)
Setter for the field
configuration. |
void |
setDescription(EndpointDescription description)
Setter for the field
description. |
void |
setHttpsSettings(HttpsSettings httpsSettings)
Setter for the field
httpsSettings. |
void |
setNamespaceUris(NamespaceTable namespaceUris)
Setter for the field
namespaceUris. |
void |
setOpctcpSettings(OpcTcpSettings opctcpSettings)
Setter for the field
opctcpSettings. |
String |
toString() |
public TransportChannelSettings()
Constructor for TransportChannelSettings.
public TransportChannelSettings(EndpointDescription description, EndpointConfiguration configuration, Cert clientCertificate, PrivKey privateKey, CertificateValidator certificateValidator, NamespaceTable namespaceUris) throws RuntimeServiceResultException
description - a EndpointDescription object.configuration - a EndpointConfiguration object.clientCertificate - a Cert object.privateKey - a PrivKey object.certificateValidator - a
CertificateValidator object.namespaceUris - (optional)RuntimeServiceResultException - if any.public TransportChannelSettings(EndpointDescription description, EndpointConfiguration configuration, KeyPair keypair, CertificateValidator certValidator, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) throws RuntimeServiceResultException
description - a EndpointDescription object.configuration - a EndpointConfiguration object.keypair - a KeyPair object.certValidator - a CertificateValidator
object.hostnameVerifier - a X509HostnameVerifier object.RuntimeServiceResultException - if any.public TransportChannelSettings clone()
public EndpointConfiguration getConfiguration()
Getter for the field configuration.
EndpointConfiguration object.public EndpointDescription getDescription()
Getter for the field description.
EndpointDescription object.public HttpsSettings getHttpsSettings()
Getter for the field httpsSettings.
HttpsSettings object.public NamespaceTable getNamespaceUris()
Getter for the field namespaceUris.
NamespaceTable object.public OpcTcpSettings getOpctcpSettings()
Getter for the field opctcpSettings.
OpcTcpSettings object.public Cert getServerCertificate()
getServerCertificate.
Cert object.public void readFrom(TransportChannelSettings tcs)
readFrom.
tcs - a TransportChannelSettings object.public void setConfiguration(EndpointConfiguration configuration)
Setter for the field configuration.
configuration - a EndpointConfiguration object.public void setDescription(EndpointDescription description)
Setter for the field description.
description - a EndpointDescription object.public void setHttpsSettings(HttpsSettings httpsSettings)
Setter for the field httpsSettings.
httpsSettings - a HttpsSettings object.public void setNamespaceUris(NamespaceTable namespaceUris)
Setter for the field namespaceUris.
namespaceUris - a NamespaceTable object.public void setOpctcpSettings(OpcTcpSettings opctcpSettings)
Setter for the field opctcpSettings.
opctcpSettings - a OpcTcpSettings object.Copyright © 2026. All rights reserved.