Package | Description |
---|---|
com.hp.util.snmp |
Package for holding SNMP library.
|
Modifier and Type | Method and Description |
---|---|
SnmpFieldType |
SnmpPdu.getType()
Returns the type of the PDU (GET_REQ, SET_REQ, ...).
|
SnmpFieldType |
SnmpField.getType() |
SnmpFieldType |
SnmpResponse.getVarBindError()
If the error state is
PDU_VARBIND_ERROR this will return the specific VarBind error. |
static SnmpFieldType |
SnmpFieldType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnmpFieldType[] |
SnmpFieldType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SnmpField |
SnmpField.set(SnmpFieldType type,
byte[] val)
Used to set a specific type of value.
|
SnmpField |
SnmpField.set(SnmpFieldType type,
long val)
Used to set a specific type of value.
|
SnmpField |
SnmpField.setType(SnmpFieldType type) |
Constructor and Description |
---|
SnmpField(SnmpFieldType type,
byte[] v)
Constructor for binary types.
|
SnmpField(SnmpFieldType type,
long v)
Constructor for scalar types.
|
Copyright © 2015. All Rights Reserved.