|
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ireasoning.protocol.snmp.SnmpBaseGroup
This class is the base class of Snmp group objects, such as system group in RFC1213
| Constructor Summary | |
SnmpBaseGroup(OIDTreeNode root,
String oid)
|
|
| Method Summary | |
void |
postSetValue(SnmpVarBind newValue,
Collection varbinds)
Deprecated, use postSetValue instead |
void |
postSetValue(SnmpVarBind newValue,
SnmpPdu pdu)
It gets called after agent processes SNMP SET request. |
boolean |
preSetValue(SnmpVarBind newValue,
Collection varbinds)
Deprecated, use preSetValue instead |
void |
preSetValue(SnmpVarBind newValue,
SnmpPdu pdu)
It gets called before agent is going to process SNMP SET request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SnmpBaseGroup(OIDTreeNode root,
String oid)
| Method Detail |
public void preSetValue(SnmpVarBind newValue,
SnmpPdu pdu)
SnmpBaseGroupMBean
Because SNMP SET operation is atomic, you may need to override this method in
the sub class which accept SET operations.
And checks the validity of passed newValue
and the pdu object. If value is not acceptable,
SnmpException needs to be thrown, so this SET operation fails
and proper error status code will be returned to SNMP manager.
Note: SNMP version information of the received packet
can be retrieved by calling pdu.getVersion()
preSetValue in interface SnmpBaseGroupMBeannewValue - the new value which is being processedpdu - PDU object received
public void postSetValue(SnmpVarBind newValue,
SnmpPdu pdu)
SnmpBaseGroupMBean
postSetValue in interface SnmpBaseGroupMBeannewValue - the new value which is being processedpdu - PDU object received
public boolean preSetValue(SnmpVarBind newValue,
Collection varbinds)
preSetValue instead
preSetValue in interface SnmpBaseGroupMBean
public void postSetValue(SnmpVarBind newValue,
Collection varbinds)
postSetValue instead
postSetValue in interface SnmpBaseGroupMBean
|
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||