|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.eventd.EventdConfiguration
Field Summary | |
private java.lang.String |
_getNextEventID
|
private boolean |
_has_receivers
keeps track of state for field: _receivers |
private boolean |
_has_socketSoTimeoutPeriod
keeps track of state for field: _socketSoTimeoutPeriod |
private boolean |
_has_TCPPort
keeps track of state for field: _TCPPort |
private boolean |
_has_UDPPort
keeps track of state for field: _UDPPort |
private int |
_receivers
|
private int |
_socketSoTimeoutPeriod
|
private java.lang.String |
_socketSoTimeoutRequired
|
private int |
_TCPPort
|
private int |
_UDPPort
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
EventdConfiguration()
|
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
deleteSocketSoTimeoutPeriod()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
java.lang.String |
getGetNextEventID()
Returns the value of field 'getNextEventID'. |
int |
getReceivers()
Returns the value of field 'receivers'. |
int |
getSocketSoTimeoutPeriod()
Returns the value of field 'socketSoTimeoutPeriod'. |
java.lang.String |
getSocketSoTimeoutRequired()
Returns the value of field 'socketSoTimeoutRequired'. |
int |
getTCPPort()
Returns the value of field 'TCPPort'. |
int |
getUDPPort()
Returns the value of field 'UDPPort'. |
boolean |
hasReceivers()
|
boolean |
hasSocketSoTimeoutPeriod()
|
boolean |
hasTCPPort()
|
boolean |
hasUDPPort()
|
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
void |
setGetNextEventID(java.lang.String getNextEventID)
Sets the value of field 'getNextEventID'. |
void |
setReceivers(int receivers)
Sets the value of field 'receivers'. |
void |
setSocketSoTimeoutPeriod(int socketSoTimeoutPeriod)
Sets the value of field 'socketSoTimeoutPeriod'. |
void |
setSocketSoTimeoutRequired(java.lang.String socketSoTimeoutRequired)
Sets the value of field 'socketSoTimeoutRequired'. |
void |
setTCPPort(int TCPPort)
Sets the value of field 'TCPPort'. |
void |
setUDPPort(int UDPPort)
Sets the value of field 'UDPPort'. |
static EventdConfiguration |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int _TCPPort
private boolean _has_TCPPort
private int _UDPPort
private boolean _has_UDPPort
private int _receivers
private boolean _has_receivers
private java.lang.String _getNextEventID
private java.lang.String _socketSoTimeoutRequired
private int _socketSoTimeoutPeriod
private boolean _has_socketSoTimeoutPeriod
private java.util.Vector propertyChangeListeners
Constructor Detail |
public EventdConfiguration()
Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void deleteSocketSoTimeoutPeriod()
public boolean equals(java.lang.Object obj)
obj
- public java.lang.String getGetNextEventID()
public int getReceivers()
public int getSocketSoTimeoutPeriod()
public java.lang.String getSocketSoTimeoutRequired()
public int getTCPPort()
public int getUDPPort()
public boolean hasReceivers()
public boolean hasSocketSoTimeoutPeriod()
public boolean hasTCPPort()
public boolean hasUDPPort()
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.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public void setGetNextEventID(java.lang.String getNextEventID)
getNextEventID
- the value of field 'getNextEventID'.public void setReceivers(int receivers)
receivers
- the value of field 'receivers'.public void setSocketSoTimeoutPeriod(int socketSoTimeoutPeriod)
socketSoTimeoutPeriod
- the value of field
'socketSoTimeoutPeriod'.public void setSocketSoTimeoutRequired(java.lang.String socketSoTimeoutRequired)
socketSoTimeoutRequired
- the value of field
'socketSoTimeoutRequired'.public void setTCPPort(int TCPPort)
TCPPort
- the value of field 'TCPPort'.public void setUDPPort(int UDPPort)
UDPPort
- the value of field 'UDPPort'.public static EventdConfiguration 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
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |