Uses of Class
org.snmp4j.smi.VariableBinding
-
Packages that use VariableBinding Package Description org.snmp4j Provides classes and interfaces for creating, sending, and receiving SNMP messages.org.snmp4j.fluent 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.uri org.snmp4j.util Contains table retrieval utilities and multi-threading support classes as well as miscellaneous utility classes. -
-
Uses of VariableBinding in org.snmp4j
Fields in org.snmp4j with type parameters of type VariableBinding Modifier and Type Field Description protected java.util.ArrayList<VariableBinding>
PDU. variableBindings
Methods in org.snmp4j that return VariableBinding Modifier and Type Method 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.Methods in org.snmp4j that return types with arguments of type VariableBinding Modifier and Type Method Description static java.util.ArrayList<VariableBinding>
PDU. decodeVariableBindings(BERInputStream inputStream)
java.util.List<VariableBinding>
PDU. get(java.lang.String... objectIdentifierOrName)
Gets all theVariableBinding
s from this PDU whose object identifier (OID
) equals or has the same prefix than the specified object identifier or name.java.util.List<VariableBinding>
PDU. getAll()
Gets all theVariableBinding
s of this PDU.java.util.List<VariableBinding>
PDU. getBindingList(OID prefix)
Gets a list ofVariableBinding
s whose OID prefix matches the supplied prefix.java.util.List<? extends VariableBinding>
PDU. getVariableBindings()
Gets the variable binding vector.Methods in org.snmp4j with parameters of type VariableBinding Modifier and Type Method 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 (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
.VariableBinding
PDU. set(int index, VariableBinding vb)
Sets the variable binding at the specified position.Method parameters in org.snmp4j with type arguments of type VariableBinding Modifier and Type Method Description void
PDU. addAll(java.util.List<? extends VariableBinding> vbs)
Adds a list of variable bindings to this PDU (seePDU.add(VariableBinding vb)
).static void
PDU. encodeVariableBindings(java.io.OutputStream outputStream, java.util.List<VariableBinding> variableBindings)
static int
PDU. getBERLength(java.util.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(java.util.List<? extends VariableBinding> vbs)
Sets theVariableBinding
s for this PDU.Constructor parameters in org.snmp4j with type arguments of type VariableBinding Constructor Description PDU(int pduType, java.util.List<? extends VariableBinding> vbs)
Constructs a new PDU from a type and a list ofVariableBinding
instances. -
Uses of VariableBinding in org.snmp4j.fluent
Fields in org.snmp4j.fluent with type parameters of type VariableBinding Modifier and Type Field Description protected java.util.List<VariableBinding>
PduBuilder. vbs
Methods in org.snmp4j.fluent with parameters of type VariableBinding Modifier and Type Method Description PduBuilder
PduBuilder. vbs(VariableBinding... vbs)
-
Uses of VariableBinding in org.snmp4j.mp
Methods in org.snmp4j.mp that return VariableBinding Modifier and Type Method Description VariableBinding
StatusInformation. getErrorIndication()
Methods in org.snmp4j.mp with parameters of type VariableBinding Modifier and Type Method 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)
Constructors in org.snmp4j.mp with parameters of type VariableBinding Constructor Description StatusInformation(VariableBinding errorIndication, byte[] contextName, byte[] contextEngineID, Integer32 securityLevel)
-
Uses of VariableBinding in org.snmp4j.smi
Methods in org.snmp4j.smi that return VariableBinding Modifier and Type Method Description static VariableBinding[]
VariableBinding. createFromOIDs(OID[] oids)
Create an array ofVariableBinding
s based on the provided OIDs. -
Uses of VariableBinding in org.snmp4j.uri
Method parameters in org.snmp4j.uri with type arguments of type VariableBinding Modifier and Type Method Description SnmpUriResponse
SnmpURI. sendByBinding(java.net.URI url, java.util.List<VariableBinding> values, int pduType)
SnmpUriResponse
SnmpURI. updateByBinding(java.net.URI url, java.util.List<VariableBinding> values)
-
Uses of VariableBinding in org.snmp4j.util
Fields in org.snmp4j.util declared as VariableBinding Modifier and Type Field Description protected VariableBinding[]
RetrievalEvent. vbs
Methods in org.snmp4j.util that return VariableBinding Modifier and Type Method 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
SimpleVariableTextFormat. parseVariableBinding(java.lang.String text)
VariableBinding
VariableTextFormat. parseVariableBinding(java.lang.String text)
Parses a textual representation of a variable binding.VariableBinding
TableUtils.Row. set(int index, VariableBinding element)
Methods in org.snmp4j.util with parameters of type VariableBinding Modifier and Type Method Description <A extends Address>
ResponseEvent<A>TableUtils. createRow(Target<A> target, OID rowStatusColumnOID, OID rowIndex, VariableBinding[] values)
Creates a SNMP table row for a table that supports the RowStatus mechanism for row creation.VariableBinding
TableUtils.Row. set(int index, VariableBinding element)
Constructors in org.snmp4j.util with parameters of type VariableBinding Constructor Description RetrievalEvent(ResponseListener source, java.lang.Object userObject, VariableBinding[] variableBindings)
Creates a retrieval event with row data.TableEvent(TableUtils.TableRequest source, java.lang.Object userObject, OID index, VariableBinding[] cols)
Creates a table event with row data.TreeEvent(org.snmp4j.util.TreeUtils.TreeRequest source, java.lang.Object userObject, VariableBinding[] vbs)
-