OpcUaTransportQuotas

OpcUaTransportQuotas — holds transport quota settings for an OPC UA connection.

Synopsis

class OpcUaTransportQuotas
{
    OperationTimeout;
    MaxStringLength;
    MaxByteStringLength;
    MaxArrayLength;
    MaxMessageSize;
    MaxBufferSize;
    ChannelLifetime;
    SecurityTokenLifetime;
}
    

Instance Variables

OperationTimeout

The timeout in milliseconds for OPC UA operations. The default value is 60000 (60 seconds).

MaxStringLength

The maximum length in bytes of a string value that can be sent or received. The default value is 65535.

MaxByteStringLength

The maximum length in bytes of a byte string value that can be sent or received. The default value is 65535.

MaxArrayLength

The maximum number of elements in an array that can be sent or received. The default value is 65535.

MaxMessageSize

The maximum size in bytes of a single OPC UA message. The default value is 1048576 (1 MB).

MaxBufferSize

The maximum size in bytes of the send and receive buffers. The default value is 65535.

ChannelLifetime

The lifetime in milliseconds of the secure channel before it must be renewed. The default value is 600000 (10 minutes).

SecurityTokenLifetime

The lifetime in milliseconds of the security token before it must be renewed. The default value is 3600000 (1 hour).

Methods

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.