Package | Description |
---|---|
org.opennms.protocols.snmp |
SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.)
|
Modifier and Type | Method and Description |
---|---|
SnmpVarBind |
SnmpVarBind.duplicate()
Returns a newly created duplicate object to the caller
|
SnmpVarBind |
SnmpResponseHandler.getFirstResponseVarBind()
Returns the recovered SNMP system object identifier, if any.
|
SnmpVarBind |
SnmpResponseHandler.getResponseVarBind(int index) |
SnmpVarBind |
SnmpPduPacket.getVarBindAt(int ndx)
Retrieves the variable at the specific index.
|
SnmpVarBind |
SnmpPduTrap.getVarBindAt(int ndx)
Retrieves the variable at the specific index.
|
SnmpVarBind |
SnmpPduPacket.removeVarBindAt(int ndx)
Removes the variable as defined by the index
|
SnmpVarBind |
SnmpPduTrap.removeVarBindAt(int ndx)
Removes the variable as defined by the index
|
SnmpVarBind[] |
SnmpPduPacket.toVarBindArray()
Returns a list of all the variables managed by this protocol data unit.
|
SnmpVarBind[] |
SnmpPduTrap.toVarBindArray()
Returns a list of all the variables managed by this protocol data unit.
|
Modifier and Type | Method and Description |
---|---|
void |
SnmpPduPacket.addVarBind(SnmpVarBind vb)
Adds a new variable to the protocol data unit.
|
void |
SnmpPduTrap.addVarBind(SnmpVarBind vb)
Adds a new variable to the protocol data unit.
|
void |
SnmpPduPacket.addVarBindAt(int ndx,
SnmpVarBind vb)
Adds a variable at a specific index.
|
void |
SnmpPduTrap.addVarBindAt(int ndx,
SnmpVarBind vb)
Adds a variable at a specific index.
|
void |
SnmpPduPacket.setVarBindAt(int ndx,
SnmpVarBind vb)
Sets the specific variable at the requested location.
|
void |
SnmpPduTrap.setVarBindAt(int ndx,
SnmpVarBind vb)
Sets the specific variable at the requested location.
|
Constructor and Description |
---|
SnmpPduBulk(int nonRepeaters,
int maxRepititions,
SnmpVarBind[] vars)
Constructs a get bulk request with the specified variables,
non-repeaters, and maximum repititions.
|
SnmpPduPacket(int command,
SnmpVarBind[] vars)
Creates a new pdu with the spcified command and the list of variables.
|
SnmpPduRequest(int command,
SnmpVarBind[] vars)
Constructs the PDU with the specified command and the passed variables.
|
SnmpVarBind(SnmpVarBind second)
Class copy constructor.
|
Copyright © 2021. All rights reserved.