public class EPPRegistrySystemInfo extends java.lang.Object implements EPPCodecComponent
idleTimeout
milliseconds, the server
will close the connection.
milliseconds
milliseconds.commandTimeout
milliseconds.transLimit
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistrySystemInfo . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistrySystemInfo . |
Constructor and Description |
---|
EPPRegistrySystemInfo()
Default constructor.
|
EPPRegistrySystemInfo(java.lang.Integer aMaxConnections,
java.lang.Integer aIdleTimeout,
java.lang.Integer aAbsoluteTimeout,
java.lang.Integer aCommandTimeout,
java.lang.Integer aTransLimit,
java.lang.Integer aPerMs)
Constructor that takes all registry system attributes.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistrySystemInfo . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistrySystemInfo attributes from the aElement DOM
Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPRegistrySystemInfo instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistrySystemInfo compare. |
java.lang.Integer |
getAbsoluteTimeout()
Gets the absolute timeout in milliseconds.
|
java.lang.Integer |
getCommandTimeout()
Gets the command timeout in milliseconds.
|
java.lang.Integer |
getIdleTimeout()
Gets the idle timeout in milliseconds.
|
java.lang.Integer |
getMaxConnections()
Gets the maximum number of connections.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.Integer |
getPerMs()
Gets the milliseconds that the transaction limit is associated with.
|
java.lang.Integer |
getTransLimit()
Gets the transaction limit.
|
boolean |
hasAbsoluteTimeout()
Is the absolute timeout set?
|
boolean |
hasCommandTimeout()
Is the command timeout set?
|
boolean |
hasIdleTimeout()
Is the idle timeout set?
|
boolean |
hasMaxConnections()
Is the maximum connections set?
|
boolean |
hasPerMs()
Is the per milliseconds attribute set?
|
boolean |
hasTransLimit()
Is the transaction limit is set?
|
void |
setAbsoluteTimeout(java.lang.Integer aAbsoluteTimeout)
Sets the absolute timeout in milliseconds.
|
void |
setCommandTimeout(java.lang.Integer aCommandTimeout)
Sets the command timeout in milliseconds.
|
void |
setIdleTimeout(java.lang.Integer aIdleTimeout)
Sets the idle timeout in milliseconds.
|
void |
setMaxConnections(java.lang.Integer aMaxConnections)
Sets the maximum number of connections.
|
void |
setPerMs(java.lang.Integer aPerMs)
Sets the milliseconds that the transaction limit is associated with.
|
void |
setTransLimit(java.lang.Integer aTransLimit)
Sets the transaction limit.
|
void |
setTransLimit(java.lang.Integer aTransLimit,
java.lang.Integer aPerMs)
Sets the transaction limit with the
perMs milliseconds. |
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
EPPRegistrySystemInfo
.public static final java.lang.String ELM_NAME
EPPRegistrySystemInfo
.public EPPRegistrySystemInfo()
public EPPRegistrySystemInfo(java.lang.Integer aMaxConnections, java.lang.Integer aIdleTimeout, java.lang.Integer aAbsoluteTimeout, java.lang.Integer aCommandTimeout, java.lang.Integer aTransLimit, java.lang.Integer aPerMs)
aMaxConnections
- Maximum number of connections that the client can establish with
the registry system. Set to null
if undefined.aIdleTimeout
- Idle timeout for a connection in milliseconds. Set to
null
if undefined.aAbsoluteTimeout
- Absolute timeout for a connection in milliseconds. Set to
null
if undefined.aCommandTimeout
- Command timeout for a connection in milliseconds. Set to
null
if undefined.aTransLimit
- Maximum number of transactions that can be submitted on the
connection per the "perMs" attribute milliseconds. Set to
null
if undefined.aPerMs
- Number of milliseconds associated with the
transLimit
attribute. Set to null
if
undefined.public boolean hasMaxConnections()
true
if the maximum connections is defined;
false
otherwise.public java.lang.Integer getMaxConnections()
null
otherwise.public void setMaxConnections(java.lang.Integer aMaxConnections)
aMaxConnections
- the maximum number of connections to set. Set to
null
if undefined.public boolean hasIdleTimeout()
true
if the idle timeout is defined;
false
otherwise.public java.lang.Integer getIdleTimeout()
public void setIdleTimeout(java.lang.Integer aIdleTimeout)
aIdleTimeout
- the idle timeout in milliseconds. Set to null
if
undefined.public boolean hasAbsoluteTimeout()
true
if the absolute timeout is defined;
false
otherwise.public java.lang.Integer getAbsoluteTimeout()
null
otherwise.public void setAbsoluteTimeout(java.lang.Integer aAbsoluteTimeout)
aAbsoluteTimeout
- the absolute timeout in milliseconds to set. Set to
null
if undefined.public boolean hasCommandTimeout()
true
if the command timeout is defined;
false
otherwise.public java.lang.Integer getCommandTimeout()
null
otherwise.public void setCommandTimeout(java.lang.Integer aCommandTimeout)
aCommandTimeout
- the command timeout to set. Set to null
if
undefined.public boolean hasTransLimit()
true
if the transaction limit is defined;
false
otherwise.public java.lang.Integer getTransLimit()
perMs
attribute must be set.null
otherwise.public void setTransLimit(java.lang.Integer aTransLimit)
perMs
attribute must be set.aTransLimit
- the transaction limit to set. Set to null
if
undefined.public void setTransLimit(java.lang.Integer aTransLimit, java.lang.Integer aPerMs)
perMs
milliseconds.aTransLimit
- the transaction limit to set. Set to null
if
undefined.aPerMs
- Milliseconds that the transaction limit is associated with. Set
to null
if undefined.public boolean hasPerMs()
true
if the per milliseconds attribute is defined;
false
otherwise.public java.lang.Integer getPerMs()
null
otherwise.public void setPerMs(java.lang.Integer aPerMs)
aPerMs
- per milliseconds to set. Set to null
if undefined.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistrySystemInfo
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistrySystemInfo
instance.EPPEncodeException
- - Unable to encode EPPRegistrySystemInfo
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistrySystemInfo
attributes from the aElement DOM
Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistrySystemInfo
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistrySystemInfo
compare.equals
in class java.lang.Object
aObject
- EPPRegistrySystemInfo
instance to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistrySystemInfo
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistrySystemInfo
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful; ERROR
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.