Uses of Class
org.snmp4j.smi.VariableBinding
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for the SNMP message processing.
Provides classes for the representation of SMIv1/v2 data types (which also
includes some basic ASN.1 primitive data types).
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of VariableBinding in org.snmp4j
Modifier and TypeMethodDescriptionPDU.get
(int index) Gets the variable binding at the specified position.PDU.set
(int index, VariableBinding vb) Sets the variable binding at the specified position.PDU.toArray()
Returns an array with the variable bindings of this PDU.Modifier and TypeMethodDescriptionstatic ArrayList
<VariableBinding> PDU.decodeVariableBindings
(BERInputStream inputStream) Gets all theVariableBinding
s from this PDU whose object identifier (OID
) equals or has the same prefix than the specified object identifier or name.PDU.getAll()
Gets all theVariableBinding
s of this PDU.PDU.getBindingList
(OID prefix) Gets a list ofVariableBinding
s whose OID prefix matches the supplied prefix.List
<? extends VariableBinding> PDU.getVariableBindings()
Gets the variable binding vector.Modifier and TypeMethodDescriptionvoid
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 (seePDU.add(VariableBinding vb)
).void
PDU.addAllOIDs
(VariableBinding[] vbs) Adds newVariableBindings
each with the OID of the corresponding variable binding of the supplied array to this PDU (seePDU.addOID(VariableBinding vb)
).void
PDU.addOID
(VariableBinding vb) Adds a new variable binding to this PDU by using the OID of the suppliedVariableBinding
.PDU.set
(int index, VariableBinding vb) Sets the variable binding at the specified position.Modifier and TypeMethodDescriptionvoid
PDU.addAll
(List<? extends VariableBinding> vbs) Adds a list of variable bindings to this PDU (seePDU.add(VariableBinding vb)
).static void
PDU.encodeVariableBindings
(OutputStream outputStream, List<VariableBinding> variableBindings) 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 theVariableBinding
s for this PDU.ModifierConstructorDescriptionPDU
(int pduType, List<? extends VariableBinding> vbs) Constructs a new PDU from a type and a list ofVariableBinding
instances. -
Uses of VariableBinding in org.snmp4j.fluent
-
Uses of VariableBinding in org.snmp4j.mp
Modifier and TypeMethodDescriptionint
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) ModifierConstructorDescriptionStatusInformation
(VariableBinding errorIndication, byte[] contextName, byte[] contextEngineID, Integer32 securityLevel) -
Uses of VariableBinding in org.snmp4j.smi
Modifier and TypeMethodDescriptionstatic VariableBinding[]
VariableBinding.createFromOIDs
(OID[] oids) Create an array ofVariableBinding
s based on the provided OIDs. -
Uses of VariableBinding in org.snmp4j.uri
Modifier and TypeMethodDescriptionSnmpURI.sendByBinding
(URI url, List<VariableBinding> values, int pduType) SnmpURI.updateByBinding
(URI url, List<VariableBinding> values) -
Uses of VariableBinding in org.snmp4j.util
Modifier and TypeMethodDescriptionTableEvent.getColumns()
Gets the columnar objects of the row.TreeEvent.getVariableBindings()
Gets the variable bindings retrieved in depth first order from the (sub-)tree.SimpleVariableTextFormat.parseVariableBinding
(String text) VariableTextFormat.parseVariableBinding
(String text) Parses a textual representation of a variable binding.TableUtils.Row.set
(int index, VariableBinding element) Modifier and TypeMethodDescription<A extends Address>
ResponseEvent<A> TableUtils.createRow
(Target<A> target, OID rowStatusColumnOID, OID rowIndex, VariableBinding[] values) Creates an SNMP table row for a table that supports the RowStatus mechanism for row creation.TableUtils.Row.set
(int index, VariableBinding element) ModifierConstructorDescriptionRetrievalEvent
(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)