org.opcfoundation.ua.core
Class EndpointConfiguration
java.lang.Object
org.opcfoundation.ua.utils.AbstractStructure
org.opcfoundation.ua.core.EndpointConfiguration
- All Implemented Interfaces:
- Cloneable, Structure, IEncodeable
public class EndpointConfiguration
- extends AbstractStructure
- implements Structure, Cloneable
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
EndpointConfiguration
public EndpointConfiguration()
EndpointConfiguration
public EndpointConfiguration(Integer OperationTimeout,
Boolean UseBinaryEncoding,
Integer MaxStringLength,
Integer MaxByteStringLength,
Integer MaxArrayLength,
Integer MaxMessageSize,
Integer MaxBufferSize,
Integer ChannelLifetime,
Integer SecurityTokenLifetime)
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.