OpcUaTransportQuotasOpcUaTransportQuotas — holds transport quota settings for an OPC UA connection.
class OpcUaTransportQuotas
{
OperationTimeout;
MaxStringLength;
MaxByteStringLength;
MaxArrayLength;
MaxMessageSize;
MaxBufferSize;
ChannelLifetime;
SecurityTokenLifetime;
}
OperationTimeoutThe timeout in milliseconds for OPC UA operations. The default
value is 60000 (60 seconds).
MaxStringLengthThe maximum length in bytes of a string value that can be sent or
received. The default value is 65535.
MaxByteStringLengthThe maximum length in bytes of a byte string value that can be
sent or received. The default value is
65535.
MaxArrayLengthThe maximum number of elements in an array that can be sent or
received. The default value is 65535.
MaxMessageSizeThe maximum size in bytes of a single OPC UA message. The default
value is 1048576 (1 MB).
MaxBufferSizeThe maximum size in bytes of the send and receive buffers. The
default value is 65535.
ChannelLifetimeThe lifetime in milliseconds of the secure channel before it must
be renewed. The default value is 600000 (10
minutes).
SecurityTokenLifetimeThe lifetime in milliseconds of the security token before it must
be renewed. The default value is 3600000 (1
hour).
constructor()Invoked by the new operator to construct an OpcUaTransportQuotas class
instance and set default values for all instance variables. These
defaults provide reasonable limits for most OPC UA communication
scenarios.