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

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

public class TcpQuotas
extends Object

Tcp connection quotas. Quota values are negotiated between client and server. The negotiated values are stored in TcpConnectionLimits.


Field Summary
 int channelLifetime
           
static TcpQuotas DEFAULT_CLIENT_QUOTA
          Constant DEFAULT_CLIENT_QUOTA
static TcpQuotas DEFAULT_SERVER_QUOTA
          Constant DEFAULT_SERVER_QUOTA
 int maxBufferSize
           
 int maxMessageSize
           
 int securityTokenLifetime
           
 
Constructor Summary
TcpQuotas(int maxMessageSize, int maxBufferSize, int channelLifetime, int securityTokenLifetime)
          Constructor for TcpQuotas.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLIENT_QUOTA

public static final TcpQuotas DEFAULT_CLIENT_QUOTA
Constant DEFAULT_CLIENT_QUOTA


DEFAULT_SERVER_QUOTA

public static final TcpQuotas DEFAULT_SERVER_QUOTA
Constant DEFAULT_SERVER_QUOTA


maxMessageSize

public final int maxMessageSize

maxBufferSize

public final int maxBufferSize

channelLifetime

public final int channelLifetime

securityTokenLifetime

public final int securityTokenLifetime
Constructor Detail

TcpQuotas

public TcpQuotas(int maxMessageSize,
                 int maxBufferSize,
                 int channelLifetime,
                 int securityTokenLifetime)

Constructor for TcpQuotas.

Parameters:
maxMessageSize - a int.
maxBufferSize - a int.
channelLifetime - a int.
securityTokenLifetime - a int.


Copyright © 2018. All rights reserved.