|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.OidandValue
public class OidandValue
OidAndValue has the oid and value(String representation) pair. This is used by API users using sendTrap method of SnmpAgent
SnmpTrapService.sendTrap| Field Summary | |
|---|---|
(package private) java.lang.String |
oid
|
(package private) java.lang.String |
value
The actual value of the MIB object represented by OID |
| Constructor Summary | |
|---|---|
OidandValue()
No argument constructor |
|
OidandValue(java.lang.String oid,
java.lang.String value)
Constructor for OidandValue |
|
| Method Summary | |
|---|---|
java.lang.String |
getOid()
Getter for oid for this OidAndValue |
java.lang.String |
getValue()
getter for the value of the MIB object represented by OID This is used by sendTrap method |
void |
setOid(java.lang.String oid)
Setter for oid which is of the dotted form for e.g..1.3.6.1.2.1.1.1 |
void |
setValue(java.lang.String value)
setter for the value of the MIB object represented by OID This is used by sendTrap method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String oid
java.lang.String value
| Constructor Detail |
|---|
public OidandValue()
public OidandValue(java.lang.String oid,
java.lang.String value)
oid - the OIDvalue - the value of the OID| Method Detail |
|---|
public void setOid(java.lang.String oid)
oid - the string representation of the OIDpublic java.lang.String getOid()
public void setValue(java.lang.String value)
value - the value of the OIDpublic java.lang.String getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||