public class ExternalServers extends Object implements Serializable
Constructor and Description |
---|
ExternalServers() |
Modifier and Type | Method and Description |
---|---|
void |
addServerSubscription(int index,
String vServerSubscription) |
void |
addServerSubscription(String vServerSubscription) |
void |
addXmlrpcServer(int index,
XmlrpcServer vXmlrpcServer) |
void |
addXmlrpcServer(XmlrpcServer vXmlrpcServer) |
void |
deleteElapseTime() |
void |
deleteRetries() |
Enumeration<String> |
enumerateServerSubscription()
Method enumerateServerSubscription.
|
Enumeration<XmlrpcServer> |
enumerateXmlrpcServer()
Method enumerateXmlrpcServer.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
int |
getElapseTime()
Returns the value of field 'elapseTime'.
|
int |
getRetries()
Returns the value of field 'retries'.
|
String[] |
getServerSubscription()
Method getServerSubscription.Returns the contents of the
collection in an Array.
|
String |
getServerSubscription(int index)
Method getServerSubscription.
|
List<String> |
getServerSubscriptionCollection()
Method getServerSubscriptionCollection.Returns a reference
to '_serverSubscriptionList'.
|
int |
getServerSubscriptionCount()
Method getServerSubscriptionCount.
|
XmlrpcServer[] |
getXmlrpcServer()
Method getXmlrpcServer.Returns the contents of the
collection in an Array.
|
XmlrpcServer |
getXmlrpcServer(int index)
Method getXmlrpcServer.
|
List<XmlrpcServer> |
getXmlrpcServerCollection()
Method getXmlrpcServerCollection.Returns a reference to
'_xmlrpcServerList'.
|
int |
getXmlrpcServerCount()
Method getXmlrpcServerCount.
|
boolean |
hasElapseTime()
Method hasElapseTime.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
hasRetries()
Method hasRetries.
|
boolean |
isValid()
Method isValid.
|
Iterator<String> |
iterateServerSubscription()
Method iterateServerSubscription.
|
Iterator<XmlrpcServer> |
iterateXmlrpcServer()
Method iterateXmlrpcServer.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllServerSubscription() |
void |
removeAllXmlrpcServer() |
boolean |
removeServerSubscription(String vServerSubscription)
Method removeServerSubscription.
|
String |
removeServerSubscriptionAt(int index)
Method removeServerSubscriptionAt.
|
boolean |
removeXmlrpcServer(XmlrpcServer vXmlrpcServer)
Method removeXmlrpcServer.
|
XmlrpcServer |
removeXmlrpcServerAt(int index)
Method removeXmlrpcServerAt.
|
void |
setElapseTime(int elapseTime)
Sets the value of field 'elapseTime'.
|
void |
setRetries(int retries)
Sets the value of field 'retries'.
|
void |
setServerSubscription(int index,
String vServerSubscription) |
void |
setServerSubscription(List<String> vServerSubscriptionList)
Sets the value of '_serverSubscriptionList' by copying the
given Vector.
|
void |
setServerSubscription(String[] vServerSubscriptionArray) |
void |
setServerSubscriptionCollection(List<String> serverSubscriptionList)
Deprecated.
|
void |
setXmlrpcServer(int index,
XmlrpcServer vXmlrpcServer) |
void |
setXmlrpcServer(List<XmlrpcServer> vXmlrpcServerList)
Sets the value of '_xmlrpcServerList' by copying the given
Vector.
|
void |
setXmlrpcServer(XmlrpcServer[] vXmlrpcServerArray) |
void |
setXmlrpcServerCollection(List<XmlrpcServer> xmlrpcServerList)
Deprecated.
|
static ExternalServers |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addServerSubscription(String vServerSubscription) throws IndexOutOfBoundsException
vServerSubscription
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addServerSubscription(int index, String vServerSubscription) throws IndexOutOfBoundsException
index
- vServerSubscription
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addXmlrpcServer(XmlrpcServer vXmlrpcServer) throws IndexOutOfBoundsException
vXmlrpcServer
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addXmlrpcServer(int index, XmlrpcServer vXmlrpcServer) throws IndexOutOfBoundsException
index
- vXmlrpcServer
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteElapseTime()
public void deleteRetries()
public Enumeration<String> enumerateServerSubscription()
public Enumeration<XmlrpcServer> enumerateXmlrpcServer()
public boolean equals(Object obj)
public int getElapseTime()
public int getRetries()
public String getServerSubscription(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic String[] getServerSubscription()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getServerSubscriptionCollection()
public int getServerSubscriptionCount()
public XmlrpcServer getXmlrpcServer(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic XmlrpcServer[] getXmlrpcServer()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<XmlrpcServer> getXmlrpcServerCollection()
public int getXmlrpcServerCount()
public boolean hasElapseTime()
public boolean hasRetries()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<String> iterateServerSubscription()
public Iterator<XmlrpcServer> iterateXmlrpcServer()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllServerSubscription()
public void removeAllXmlrpcServer()
public boolean removeServerSubscription(String vServerSubscription)
vServerSubscription
- public String removeServerSubscriptionAt(int index)
index
- public boolean removeXmlrpcServer(XmlrpcServer vXmlrpcServer)
vXmlrpcServer
- public XmlrpcServer removeXmlrpcServerAt(int index)
index
- public void setElapseTime(int elapseTime)
elapseTime
- the value of field 'elapseTime'.public void setRetries(int retries)
retries
- the value of field 'retries'.public void setServerSubscription(int index, String vServerSubscription) throws IndexOutOfBoundsException
index
- vServerSubscription
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setServerSubscription(String[] vServerSubscriptionArray)
vServerSubscriptionArray
- public void setServerSubscription(List<String> vServerSubscriptionList)
vServerSubscriptionList
- the Vector to copy.public void setServerSubscriptionCollection(List<String> serverSubscriptionList)
serverSubscriptionList
- the Vector to set.public void setXmlrpcServer(int index, XmlrpcServer vXmlrpcServer) throws IndexOutOfBoundsException
index
- vXmlrpcServer
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setXmlrpcServer(XmlrpcServer[] vXmlrpcServerArray)
vXmlrpcServerArray
- public void setXmlrpcServer(List<XmlrpcServer> vXmlrpcServerList)
vXmlrpcServerList
- the Vector to copy.public void setXmlrpcServerCollection(List<XmlrpcServer> xmlrpcServerList)
xmlrpcServerList
- the Vector to set.public static ExternalServers unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.