org.opcfoundation.ua.transport.tcp.io
Class TcpMessageLimits

java.lang.Object
  extended by org.opcfoundation.ua.transport.tcp.io.TcpMessageLimits

public class TcpMessageLimits
extends Object

TcpMessageLimits class.


Field Summary
static int BaseHeaderSize
          The length of the base message header.
static int CertificateThumbprintSize
          The length a X509 certificate thumbprint.
static int DefaultChannelLifetime
          How long a connection will remain in the server after it goes into a faulted state.
static int DefaultMaxBufferSize
          The default buffer size to use for communication.
static int DefaultMaxMessageSize
          The default maximum message size.
static int DefaultSecurityTokenLifeTime
          How long a security token lasts before it needs to be renewed.
static int MaxBufferSize
          The maximum send or receive buffer size.
static int MaxCertificateSize
          The maximum length for an x509 certificate.
static int MaxEndpointUrlLength
          The maximum length for the endpoint url in the hello message.
static int MaxErrorReasonLength
          The maximum length for the reason in an error message.
static UnsignedInteger MaxRolloverSequenceNumber
          The first sequence number after a rollover must be less than this value.
static int MaxSecurityPolicyUriSize
          The maximum length for an a security policy uri.
static int MaxTimeBetweenReconnects
          The maximum time interval between reconnect attempts.
static int MessageTypeAndSize
          The size of the message type and size prefix in each message.
static int MinBufferSize
          The minimum send or receive buffer size.
static int MinSecurityTokenLifeTime
          The minimum lifetime for a security token lasts before it needs to be renewed.
static UnsignedInteger MinSequenceNumber
          Sequence numbers may only rollover if they are larger than this value.
static int MinTimeBetweenReconnects
          The minimum time interval between reconnect attempts.
static int SequenceHeaderSize
          The length of the sequence message header.
static int StringLengthSize
          The number of bytes required to specify the length of an encoding string or bytestring.
static int SymmetricHeaderSize
          The length of the message header use with symmetric cryptography.
static double TokenRenewalPeriod
          The fraction of the lifetime to wait before renewing a token.
 
Constructor Summary
TcpMessageLimits()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MessageTypeAndSize

public static final int MessageTypeAndSize
The size of the message type and size prefix in each message.

See Also:
Constant Field Values

MinBufferSize

public static final int MinBufferSize
The minimum send or receive buffer size.

See Also:
Constant Field Values

MaxBufferSize

public static final int MaxBufferSize
The maximum send or receive buffer size.

See Also:
Constant Field Values

MaxErrorReasonLength

public static final int MaxErrorReasonLength
The maximum length for the reason in an error message.

See Also:
Constant Field Values

MaxEndpointUrlLength

public static final int MaxEndpointUrlLength
The maximum length for the endpoint url in the hello message.

See Also:
Constant Field Values

MaxCertificateSize

public static final int MaxCertificateSize
The maximum length for an x509 certificate.

See Also:
Constant Field Values

MaxSecurityPolicyUriSize

public static final int MaxSecurityPolicyUriSize
The maximum length for an a security policy uri.

See Also:
Constant Field Values

BaseHeaderSize

public static final int BaseHeaderSize
The length of the base message header.

See Also:
Constant Field Values

SymmetricHeaderSize

public static final int SymmetricHeaderSize
The length of the message header use with symmetric cryptography.

See Also:
Constant Field Values

SequenceHeaderSize

public static final int SequenceHeaderSize
The length of the sequence message header.

See Also:
Constant Field Values

CertificateThumbprintSize

public static final int CertificateThumbprintSize
The length a X509 certificate thumbprint.

See Also:
Constant Field Values

StringLengthSize

public static final int StringLengthSize
The number of bytes required to specify the length of an encoding string or bytestring.

See Also:
Constant Field Values

MinSequenceNumber

public static final UnsignedInteger MinSequenceNumber
Sequence numbers may only rollover if they are larger than this value.


MaxRolloverSequenceNumber

public static final UnsignedInteger MaxRolloverSequenceNumber
The first sequence number after a rollover must be less than this value.


DefaultMaxBufferSize

public static final int DefaultMaxBufferSize
The default buffer size to use for communication.

See Also:
Constant Field Values

DefaultMaxMessageSize

public static final int DefaultMaxMessageSize
The default maximum message size.

See Also:
Constant Field Values

DefaultChannelLifetime

public static final int DefaultChannelLifetime
How long a connection will remain in the server after it goes into a faulted state.

See Also:
Constant Field Values

DefaultSecurityTokenLifeTime

public static final int DefaultSecurityTokenLifeTime
How long a security token lasts before it needs to be renewed.

See Also:
Constant Field Values

MinSecurityTokenLifeTime

public static final int MinSecurityTokenLifeTime
The minimum lifetime for a security token lasts before it needs to be renewed.

See Also:
Constant Field Values

MinTimeBetweenReconnects

public static final int MinTimeBetweenReconnects
The minimum time interval between reconnect attempts.

See Also:
Constant Field Values

MaxTimeBetweenReconnects

public static final int MaxTimeBetweenReconnects
The maximum time interval between reconnect attempts.

See Also:
Constant Field Values

TokenRenewalPeriod

public static final double TokenRenewalPeriod
The fraction of the lifetime to wait before renewing a token.

See Also:
Constant Field Values
Constructor Detail

TcpMessageLimits

public TcpMessageLimits()


Copyright © 2018. All rights reserved.