|
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.xmlrpcd.Xmlrpcd
The Xmlrpcd receives events selectively and sends notification to an external XMLRPC server via the XMLRPC protocol.
Field Summary | |
private static java.lang.String |
LOG4J_CATEGORY
The name of the logging category for Xmlrpcd. |
private FifoQueue |
m_eventlogQ
The communication queue |
private BroadcastEventProcessor |
m_eventReceiver
The class instance used to recieve new events from for the system. |
private java.lang.String |
m_name
The name of this service. |
private EventQueueProcessor |
m_processor
The queue processing thread |
private static Xmlrpcd |
m_singleton
The singlton instance. |
private int |
m_status
The last status sent to the service control manager. |
Fields inherited from interface org.opennms.core.fiber.PausableFiber |
PAUSE_PENDING, PAUSED, RESUME_PENDING |
Fields inherited from interface org.opennms.core.fiber.Fiber |
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED |
Constructor Summary | |
Xmlrpcd()
Constructs a new Xmlrpcd object that receives events subscribed by the external XMLRPC server and sends corresponding message to the external XMLRPC server via XMLRPC protocol. |
Method Summary | |
static Xmlrpcd |
getInstance()
Returns the singular instance of the xmlrpcd daemon. |
java.lang.String |
getName()
Returns the name of the service. |
int |
getStatus()
Returns the current status of the service. |
void |
init()
|
void |
pause()
Pauses Xmlrpcd |
void |
resume()
Resumes Xmlrpcd |
void |
start()
This method is used to start the initilization process of the Fiber , which should eventually transition to a
RUNNING status. |
void |
stop()
Stops the currently running service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String LOG4J_CATEGORY
private static final Xmlrpcd m_singleton
private java.lang.String m_name
private int m_status
private FifoQueue m_eventlogQ
private EventQueueProcessor m_processor
private BroadcastEventProcessor m_eventReceiver
Constructor Detail |
public Xmlrpcd()
Constructs a new Xmlrpcd object that receives events subscribed by the external XMLRPC server and sends corresponding message to the external XMLRPC server via XMLRPC protocol.
Method Detail |
public void init()
public void start()
Fiber
Fiber
, which should eventually transition to a
RUNNING
status.
start
in interface Fiber
java.lang.reflect.UndeclaredThrowableException
- if an unexpected database, or IO exception occurs.public void pause()
pause
in interface PausableFiber
public void resume()
resume
in interface PausableFiber
public void stop()
stop
in interface Fiber
public int getStatus()
getStatus
in interface Fiber
public java.lang.String getName()
getName
in interface Fiber
public static Xmlrpcd getInstance()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |