|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.capsd.Capsd
public class Capsd
The Capability daemon - it is notified by the discovery process when a new node is discovered - it then polls for all the capabilities for this node and is responsible for loading the data collecte1d into the database.
Once a node is added to the database, its sends an indication back to the discovery which then flags this node as 'known'.
| Field Summary |
|---|
| 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 | |
|---|---|
Capsd()
Constructs the Capsd objec |
|
| Method Summary | |
|---|---|
static Capsd |
getInstance()
|
static java.lang.String |
getLocalHostAddress()
Used to retrieve the local host name/address. |
protected void |
onInit()
|
protected void |
onPause()
|
protected void |
onResume()
|
protected void |
onStart()
|
protected void |
onStop()
|
void |
rescanInterfaceParent(java.lang.Integer nodeId)
This method is used to force an existing node to be capability rescaned. |
void |
scanSuspectInterface(java.lang.String ifAddr)
This method is used by other managed beans to forward an IP Address for capability scanning. |
| Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon |
|---|
afterPropertiesSet, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, isStartPending, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Capsd()
| Method Detail |
|---|
protected void onStop()
onStop in class AbstractServiceDaemonprotected void onInit()
onInit in class AbstractServiceDaemonprotected void onStart()
onStart in class AbstractServiceDaemonprotected void onPause()
onPause in class AbstractServiceDaemonprotected void onResume()
onResume in class AbstractServiceDaemonpublic static java.lang.String getLocalHostAddress()
public static Capsd getInstance()
public void scanSuspectInterface(java.lang.String ifAddr)
throws java.net.UnknownHostException
ifAddr - The address of the suspect interface.
java.net.UnknownHostException - Thrown if the address cannot be converted to aa proper
internet address.public void rescanInterfaceParent(java.lang.Integer nodeId)
nodeId - The node identifier from the database.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||