Package | Description |
---|---|
org.snmp4j |
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
|
org.snmp4j.mp |
Provides classes and interfaces for the SNMP message processing.
|
org.snmp4j.smi |
Provides classes for the representation of SMIv1/v2 data types (which also
includes some basic ASN.1 primitive data types).
|
org.snmp4j.tools.console | |
org.snmp4j.uri | |
org.snmp4j.util |
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected Vector<VariableBinding> |
PDU.variableBindings |
Modifier and Type | Method and Description |
---|---|
VariableBinding |
PDU.get(int index)
Gets the variable binding at the specified position.
|
VariableBinding |
PDU.set(int index,
VariableBinding vb)
Sets the variable binding at the specified position.
|
VariableBinding[] |
PDU.toArray()
Returns an array with the variable bindings of this PDU.
|
Modifier and Type | Method and Description |
---|---|
List<VariableBinding> |
PDU.getBindingList(OID prefix)
Gets a list of
VariableBinding s whose OID prefix
matches the supplied prefix. |
Vector<? extends VariableBinding> |
PDU.getVariableBindings()
Gets the variable binding vector.
|
Modifier and Type | Method and Description |
---|---|
void |
PDU.add(VariableBinding vb)
Adds a variable binding to this PDU.
|
void |
PDU.addAll(VariableBinding[] vbs)
Adds an array of variable bindings to this PDU (see
PDU.add(VariableBinding vb) ). |
void |
PDU.addAllOIDs(VariableBinding[] vbs)
Adds new
VariableBindings each with the OID of the
corresponding variable binding of the supplied array to this PDU (see
PDU.addOID(VariableBinding vb) ). |
void |
PDU.addOID(VariableBinding vb)
Adds a new variable binding to this PDU by using the OID of the supplied
VariableBinding . |
VariableBinding |
PDU.set(int index,
VariableBinding vb)
Sets the variable binding at the specified position.
|
Modifier and Type | Method and Description |
---|---|
void |
PDU.addAll(List<? extends VariableBinding> vbs)
Adds a list of variable bindings to this PDU (see
PDU.add(VariableBinding vb) ). |
static int |
PDU.getBERLength(List<? extends VariableBinding> variableBindings)
Computes the length in bytes of the BER encoded variable bindings without
including the length of BER sequence length.
|
void |
PDU.setVariableBindings(List<? extends VariableBinding> vbs)
Sets the
VariableBinding s for this PDU. |
Constructor and Description |
---|
PDU(int pduType,
List<? extends VariableBinding> vbs)
Constructs a new PDU from a type and a list of
VariableBinding instances. |
Modifier and Type | Method and Description |
---|---|
VariableBinding |
StatusInformation.getErrorIndication() |
Modifier and Type | Method and Description |
---|---|
int |
MPv3.sendReport(MessageDispatcher messageDispatcher,
ScopedPDU pdu,
int securityLevel,
int securityModel,
OctetString securityName,
int maxSizeResponseScopedPDU,
StateReference stateReference,
VariableBinding payload)
Sends a report message.
|
void |
StatusInformation.setErrorIndication(VariableBinding errorIndication) |
Constructor and Description |
---|
StatusInformation(VariableBinding errorIndication,
byte[] contextName,
byte[] contextEngineID,
Integer32 securityLevel) |
Modifier and Type | Method and Description |
---|---|
static VariableBinding[] |
VariableBinding.createFromOIDs(OID[] oids)
Create an array of
VariableBinding s based on the
provided OIDs. |
Modifier and Type | Method and Description |
---|---|
Vector<? extends VariableBinding> |
SnmpRequest.getVbs() |
Modifier and Type | Method and Description |
---|---|
void |
SnmpRequest.setVbs(Vector<VariableBinding> vbs) |
Modifier and Type | Method and Description |
---|---|
SnmpUriResponse |
SnmpURI.sendByBinding(URI url,
List<VariableBinding> values,
int pduType) |
SnmpUriResponse |
SnmpURI.updateByBinding(URI url,
List<VariableBinding> values) |
Modifier and Type | Field and Description |
---|---|
protected VariableBinding[] |
RetrievalEvent.vbs |
Modifier and Type | Method and Description |
---|---|
VariableBinding[] |
TableEvent.getColumns()
Gets the columnar objects of the row.
|
VariableBinding[] |
TreeEvent.getVariableBindings()
Gets the variable bindings retrieved in depth first order from the
(sub-)tree.
|
VariableBinding |
VariableTextFormat.parseVariableBinding(String text)
Parses a textual representation of a variable binding.
|
VariableBinding |
SimpleVariableTextFormat.parseVariableBinding(String text) |
Modifier and Type | Method and Description |
---|---|
ResponseEvent |
TableUtils.createRow(Target target,
OID rowStatusColumnOID,
OID rowIndex,
VariableBinding[] values)
Creates a SNMP table row for a table that supports the RowStatus
mechanism for row creation.
|
Constructor and Description |
---|
RetrievalEvent(ResponseListener source,
Object userObject,
VariableBinding[] variableBindings)
Creates a retrieval event with row data.
|
TableEvent(TableUtils.TableRequest source,
Object userObject,
OID index,
VariableBinding[] cols)
Creates a table event with row data.
|
TreeEvent(org.snmp4j.util.TreeUtils.TreeRequest source,
Object userObject,
VariableBinding[] vbs) |
Copyright © 2021 SNMP4J.org. All rights reserved.