|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.EventdConfigManager
public class EventdConfigManager
EventdConfigManager class.
| Field Summary | |
|---|---|
protected EventdConfiguration |
m_config
The config class loaded from the config file |
| Constructor Summary | |
|---|---|
protected |
EventdConfigManager(InputStream stream)
Constructor for EventdConfigManager. |
|
EventdConfigManager(String configFile)
Constructor for EventdConfigManager. |
| Method Summary | |
|---|---|
String |
getGetNextEventID()
Return the SQL statement to get the next event ID. |
Lock |
getReadLock()
|
int |
getReceivers()
Return the number of event receivers to be started. |
int |
getSocketSoTimeoutPeriod()
Return timeout to be set on the socket. |
String |
getSocketSoTimeoutRequired()
Return string indicating if timeout is to be set on the socket. |
String |
getTCPIpAddress()
Return the IP address on which eventd listens for TCP connections. |
int |
getTCPPort()
Return the port on which eventd listens for TCP connections. |
String |
getUDPIpAddress()
Return the IP address on which eventd listens for UDP packets. |
int |
getUDPPort()
Return the port on which eventd listens for UDP data. |
Lock |
getWriteLock()
|
boolean |
hasSocketSoTimeoutPeriod()
Return flag indicating if timeout to be set on the socket is specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EventdConfiguration m_config
| Constructor Detail |
|---|
protected EventdConfigManager(InputStream stream)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
IOException
Constructor for EventdConfigManager.
stream - a InputStream object.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
IOException - if any.
public EventdConfigManager(String configFile)
throws FileNotFoundException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
Constructor for EventdConfigManager.
configFile - a String object.
FileNotFoundException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.| Method Detail |
|---|
public Lock getReadLock()
public Lock getWriteLock()
public String getTCPIpAddress()
public int getTCPPort()
public String getUDPIpAddress()
public int getUDPPort()
public int getReceivers()
public String getSocketSoTimeoutRequired()
public int getSocketSoTimeoutPeriod()
public boolean hasSocketSoTimeoutPeriod()
public String getGetNextEventID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||