|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.xmlrpcd.ExternalServers
public class ExternalServers
Defines a main XMLRPC server and a set of backup XMLRPC servers
| Constructor Summary | |
|---|---|
ExternalServers()
|
|
| Method Summary | |
|---|---|
void |
addXmlrpcServer(int index,
XmlrpcServer vXmlrpcServer)
Method addXmlrpcServer |
void |
addXmlrpcServer(XmlrpcServer vXmlrpcServer)
Method addXmlrpcServer |
void |
clearXmlrpcServer()
Method clearXmlrpcServer |
void |
deleteElapseTime()
Method deleteElapseTime |
void |
deleteRetries()
Method deleteRetries |
java.util.Enumeration |
enumerateXmlrpcServer()
Method enumerateXmlrpcServer |
int |
getElapseTime()
Returns the value of field 'elapseTime'. |
int |
getRetries()
Returns the value of field 'retries'. |
XmlrpcServer[] |
getXmlrpcServer()
Method getXmlrpcServer |
XmlrpcServer |
getXmlrpcServer(int index)
Method getXmlrpcServer |
java.util.ArrayList |
getXmlrpcServerCollection()
Method getXmlrpcServerCollection Returns a reference to 'xmlrpcServer'. |
int |
getXmlrpcServerCount()
Method getXmlrpcServerCount |
boolean |
hasElapseTime()
Method hasElapseTime |
boolean |
hasRetries()
Method hasRetries |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeXmlrpcServer(XmlrpcServer vXmlrpcServer)
Method removeXmlrpcServer |
void |
setElapseTime(int elapseTime)
Sets the value of field 'elapseTime'. |
void |
setRetries(int retries)
Sets the value of field 'retries'. |
void |
setXmlrpcServer(java.util.ArrayList xmlrpcServerCollection)
Method setXmlrpcServer Sets the value of 'xmlrpcServer' by copying the given ArrayList. |
void |
setXmlrpcServer(int index,
XmlrpcServer vXmlrpcServer)
Method setXmlrpcServer |
void |
setXmlrpcServer(XmlrpcServer[] xmlrpcServerArray)
Method setXmlrpcServer |
void |
setXmlrpcServerCollection(java.util.ArrayList xmlrpcServerCollection)
Method setXmlrpcServerCollection Sets the value of 'xmlrpcServer' by setting it to the given ArrayList. |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalServers()
| Method Detail |
|---|
public void addXmlrpcServer(XmlrpcServer vXmlrpcServer)
throws java.lang.IndexOutOfBoundsException
vXmlrpcServer -
java.lang.IndexOutOfBoundsException
public void addXmlrpcServer(int index,
XmlrpcServer vXmlrpcServer)
throws java.lang.IndexOutOfBoundsException
index - vXmlrpcServer -
java.lang.IndexOutOfBoundsExceptionpublic void clearXmlrpcServer()
public void deleteElapseTime()
public void deleteRetries()
public java.util.Enumeration enumerateXmlrpcServer()
public int getElapseTime()
public int getRetries()
public XmlrpcServer getXmlrpcServer(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic XmlrpcServer[] getXmlrpcServer()
public java.util.ArrayList getXmlrpcServerCollection()
public int getXmlrpcServerCount()
public boolean hasElapseTime()
public boolean hasRetries()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeXmlrpcServer(XmlrpcServer vXmlrpcServer)
vXmlrpcServer -
public void setElapseTime(int elapseTime)
elapseTime - the value of field 'elapseTime'.public void setRetries(int retries)
retries - the value of field 'retries'.
public void setXmlrpcServer(int index,
XmlrpcServer vXmlrpcServer)
throws java.lang.IndexOutOfBoundsException
index - vXmlrpcServer -
java.lang.IndexOutOfBoundsExceptionpublic void setXmlrpcServer(XmlrpcServer[] xmlrpcServerArray)
xmlrpcServerArray - public void setXmlrpcServer(java.util.ArrayList xmlrpcServerCollection)
xmlrpcServerCollection - the Vector to copy.public void setXmlrpcServerCollection(java.util.ArrayList xmlrpcServerCollection)
xmlrpcServerCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||