org.opcfoundation.ua.core
Class EndpointConfiguration

java.lang.Object
  extended by org.opcfoundation.ua.utils.AbstractStructure
      extended by org.opcfoundation.ua.core.EndpointConfiguration
All Implemented Interfaces:
Cloneable, Structure, IEncodeable

public class EndpointConfiguration
extends AbstractStructure
implements Structure, Cloneable


Field Summary
static ExpandedNodeId BINARY
           
protected  Integer ChannelLifetime
           
static ExpandedNodeId ID
           
protected  Integer MaxArrayLength
           
protected  Integer MaxBufferSize
           
protected  Integer MaxByteStringLength
           
protected  Integer MaxMessageSize
           
protected  Integer MaxStringLength
           
protected  Integer OperationTimeout
           
protected  Integer SecurityTokenLifetime
           
protected  Boolean UseBinaryEncoding
           
static ExpandedNodeId XML
           
 
Constructor Summary
EndpointConfiguration()
           
EndpointConfiguration(Integer OperationTimeout, Boolean UseBinaryEncoding, Integer MaxStringLength, Integer MaxByteStringLength, Integer MaxArrayLength, Integer MaxMessageSize, Integer MaxBufferSize, Integer ChannelLifetime, Integer SecurityTokenLifetime)
           
 
Method Summary
 EndpointConfiguration clone()
          Deep clone
static EndpointConfiguration defaults()
          Creates an instance of a configuration with reasonable default values.
 boolean equals(Object obj)
           
 ExpandedNodeId getBinaryEncodeId()
          getBinaryEncodeId.
 Integer getChannelLifetime()
           
 Integer getMaxArrayLength()
           
 Integer getMaxBufferSize()
           
 Integer getMaxByteStringLength()
           
 Integer getMaxMessageSize()
           
 Integer getMaxStringLength()
           
 Integer getOperationTimeout()
           
 Integer getSecurityTokenLifetime()
           
 ExpandedNodeId getTypeId()
          getTypeId.
 Boolean getUseBinaryEncoding()
           
 ExpandedNodeId getXmlEncodeId()
          getXmlEncodeId.
 int hashCode()
           
 void setChannelLifetime(Integer ChannelLifetime)
           
 void setMaxArrayLength(Integer MaxArrayLength)
           
 void setMaxBufferSize(Integer MaxBufferSize)
           
 void setMaxByteStringLength(Integer MaxByteStringLength)
           
 void setMaxMessageSize(Integer MaxMessageSize)
           
 void setMaxStringLength(Integer MaxStringLength)
           
 void setOperationTimeout(Integer OperationTimeout)
           
 void setSecurityTokenLifetime(Integer SecurityTokenLifetime)
           
 void setUseBinaryEncoding(Boolean UseBinaryEncoding)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final ExpandedNodeId ID

BINARY

public static final ExpandedNodeId BINARY

XML

public static final ExpandedNodeId XML

OperationTimeout

protected Integer OperationTimeout

UseBinaryEncoding

protected Boolean UseBinaryEncoding

MaxStringLength

protected Integer MaxStringLength

MaxByteStringLength

protected Integer MaxByteStringLength

MaxArrayLength

protected Integer MaxArrayLength

MaxMessageSize

protected Integer MaxMessageSize

MaxBufferSize

protected Integer MaxBufferSize

ChannelLifetime

protected Integer ChannelLifetime

SecurityTokenLifetime

protected Integer SecurityTokenLifetime
Constructor Detail

EndpointConfiguration

public EndpointConfiguration()

EndpointConfiguration

public EndpointConfiguration(Integer OperationTimeout,
                             Boolean UseBinaryEncoding,
                             Integer MaxStringLength,
                             Integer MaxByteStringLength,
                             Integer MaxArrayLength,
                             Integer MaxMessageSize,
                             Integer MaxBufferSize,
                             Integer ChannelLifetime,
                             Integer SecurityTokenLifetime)
Method Detail

defaults

public static EndpointConfiguration defaults()
Creates an instance of a configuration with reasonable default values.

Returns:
configuration

getOperationTimeout

public Integer getOperationTimeout()

setOperationTimeout

public void setOperationTimeout(Integer OperationTimeout)

getUseBinaryEncoding

public Boolean getUseBinaryEncoding()

setUseBinaryEncoding

public void setUseBinaryEncoding(Boolean UseBinaryEncoding)

getMaxStringLength

public Integer getMaxStringLength()

setMaxStringLength

public void setMaxStringLength(Integer MaxStringLength)

getMaxByteStringLength

public Integer getMaxByteStringLength()

setMaxByteStringLength

public void setMaxByteStringLength(Integer MaxByteStringLength)

getMaxArrayLength

public Integer getMaxArrayLength()

setMaxArrayLength

public void setMaxArrayLength(Integer MaxArrayLength)

getMaxMessageSize

public Integer getMaxMessageSize()

setMaxMessageSize

public void setMaxMessageSize(Integer MaxMessageSize)

getMaxBufferSize

public Integer getMaxBufferSize()

setMaxBufferSize

public void setMaxBufferSize(Integer MaxBufferSize)

getChannelLifetime

public Integer getChannelLifetime()

setChannelLifetime

public void setChannelLifetime(Integer ChannelLifetime)

getSecurityTokenLifetime

public Integer getSecurityTokenLifetime()

setSecurityTokenLifetime

public void setSecurityTokenLifetime(Integer SecurityTokenLifetime)

clone

public EndpointConfiguration clone()
Deep clone

Specified by:
clone in interface Structure
Overrides:
clone in class AbstractStructure
Returns:
cloned EndpointConfiguration

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeId

public ExpandedNodeId getTypeId()
Description copied from interface: Structure

getTypeId.

Specified by:
getTypeId in interface Structure
Returns:
a ExpandedNodeId object.

getXmlEncodeId

public ExpandedNodeId getXmlEncodeId()
Description copied from interface: Structure

getXmlEncodeId.

Specified by:
getXmlEncodeId in interface Structure
Returns:
a ExpandedNodeId object.

getBinaryEncodeId

public ExpandedNodeId getBinaryEncodeId()
Description copied from interface: Structure

getBinaryEncodeId.

Specified by:
getBinaryEncodeId in interface Structure
Returns:
a ExpandedNodeId object.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.