|
WebNMS 5 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.beans.management.AbstractVirtualBean
AbstractVirtualBean class is extended by all virtual
beans created in Performance Wizard
| Field Summary | |
protected MibNodeEvent |
mnevt
|
static java.lang.String |
SUCCESS
|
| Constructor Summary | |
AbstractVirtualBean()
Creates a new AbstractVirtualBean instance. |
|
| Method Summary | |
void |
addMibNodeListener(MibNodeListener mlis)
addMibNodeListener method adds the listeners,
to the event listeners list. |
void |
addResultListener(ResultListener lis)
addResultListener method adds the listeners,
to the event listeners list. |
protected void |
fireMibNodeEvent(MibNodeEvent evt,
int errorIndex,
java.lang.String errorMessage)
fireMibNodeEvent method fires the MibNodeEvent,
to the listeners when result is received. |
protected void |
fireMibNodeEvent(MibNodeEvent evt,
int errorIndex,
java.lang.String errorMessage,
com.adventnet.management.Property property,
java.lang.String printableResult)
fireMibNodeEvent method the MibNodeEvent,
to the listeners when result is received. |
java.util.Properties |
getAdvancedProperties()
getAdvancedProperties method returns the advanced properties. |
abstract java.lang.Object |
getUserResults()
getUserResults abstract method which
returns any user manipulated result to the listeners |
void |
removeMibNodeListener(MibNodeListener mlis)
removeMibNodeListener method removes the listeners,
registered for notification , when result is received |
void |
removeResultListener(ResultListener lis)
removeResultListener method removes the listeners,
registered for notification , when result is received |
void |
setAdvancedProperties(java.util.Properties propsArg)
setAdvancedProperties method , can be used to
set properties like TargetHost, TargetPort , PollInterval,
Retries , TimeOut, Community, WriteCommunity, ManagedObjectName. |
void |
setMibsToBeLoaded(java.lang.String mibs)
Deprecated. set the mibs to be loaded for the applet or application |
void |
setPollInterval(long intr)
Deprecated. setPollInterval method sets the polling interval
in millisecs. |
abstract void |
setProperty(java.lang.String key,
java.lang.String value)
setProperty abstract method extended
by base classes, which sets the properties to handler
class instance declared in the sub classes |
void |
setReadCommunity(java.lang.String rComm)
Deprecated. set snmp read community |
void |
setRetries(int retr)
Deprecated. set number of retries |
void |
setTargetHost(java.lang.String host)
Deprecated. setTargetHost method sets the snmp device
host . |
void |
setTargetPort(java.lang.String port)
Deprecated. setTargetPort method sets the snmp device
port. |
void |
setTimeout(int tout)
Deprecated. set time out interval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MibNodeEvent mnevt
public static java.lang.String SUCCESS
| Constructor Detail |
public AbstractVirtualBean()
AbstractVirtualBean instance.| Method Detail |
public void addMibNodeListener(MibNodeListener mlis)
addMibNodeListener method adds the listeners,
to the event listeners list. All the listeners will be notified
whenever the result is received after every polling interval.mlis - a MibNodeListener valuepublic void removeMibNodeListener(MibNodeListener mlis)
removeMibNodeListener method removes the listeners,
registered for notification , when result is receivedmlis - a MibNodeListener valuepublic void addResultListener(ResultListener lis)
addResultListener method adds the listeners,
to the event listeners list. All the listeners will be notified
whenever the result is received after every polling interval.lis - a ResultListener valuepublic void removeResultListener(ResultListener lis)
removeResultListener method removes the listeners,
registered for notification , when result is receivedlis - a ResultListener value
protected void fireMibNodeEvent(MibNodeEvent evt,
int errorIndex,
java.lang.String errorMessage)
fireMibNodeEvent method fires the MibNodeEvent,
to the listeners when result is received.evt - a MibNodeEvent valueerrorIndex - an int valueerrorMessage - a String value
protected void fireMibNodeEvent(MibNodeEvent evt,
int errorIndex,
java.lang.String errorMessage,
com.adventnet.management.Property property,
java.lang.String printableResult)
fireMibNodeEvent method the MibNodeEvent,
to the listeners when result is received.evt - a MibNodeEvent valueerrorIndex - an int valueerrorMessage - a String valueproperty - a Property valueprintableResult - a String valuepublic void setAdvancedProperties(java.util.Properties propsArg)
setAdvancedProperties method , can be used to
set properties like TargetHost, TargetPort , PollInterval,
Retries , TimeOut, Community, WriteCommunity, ManagedObjectName.propsArg - a java.util.Properties valuepublic java.util.Properties getAdvancedProperties()
getAdvancedProperties method returns the advanced properties.java.util.Properties valuepublic void setTargetHost(java.lang.String host)
setTargetHost method sets the snmp device
host .
host - a String value
use setProperty methodpublic void setTargetPort(java.lang.String port)
setTargetPort method sets the snmp device
port.
port - a String value
use setProperty methodpublic void setPollInterval(long intr)
setPollInterval method sets the polling interval
in millisecs.
intr - a long value
use setProperty methodpublic void setMibsToBeLoaded(java.lang.String mibs)
mibs - :public void setReadCommunity(java.lang.String rComm)
rComm - :public void setTimeout(int tout)
public void setRetries(int retr)
public abstract java.lang.Object getUserResults()
getUserResults abstract method which
returns any user manipulated result to the listenersObject value
public abstract void setProperty(java.lang.String key,
java.lang.String value)
setProperty abstract method extended
by base classes, which sets the properties to handler
class instance declared in the sub classeskey - a String valuevalue - a String value
|
WebNMS 5 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||