Uses of Class
org.snmp4j.smi.VariableBinding
Packages that use 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
Fields in org.snmp4j with type parameters of type VariableBindingMethods in org.snmp4j that return VariableBindingModifier 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.Methods in org.snmp4j that return types with arguments of type VariableBindingModifier 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.Methods in org.snmp4j with parameters of type VariableBindingModifier 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.Method parameters in org.snmp4j with type arguments of type VariableBindingModifier 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.Constructor parameters in org.snmp4j with type arguments of type VariableBindingModifierConstructorDescriptionPDU
(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
Fields in org.snmp4j.fluent with type parameters of type VariableBindingMethods in org.snmp4j.fluent with parameters of type VariableBinding -
Uses of VariableBinding in org.snmp4j.mp
Methods in org.snmp4j.mp that return VariableBindingMethods in org.snmp4j.mp with parameters of type VariableBindingModifier 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) Constructors in org.snmp4j.mp with parameters of type VariableBindingModifierConstructorDescriptionStatusInformation
(VariableBinding errorIndication, byte[] contextName, byte[] contextEngineID, Integer32 securityLevel) -
Uses of VariableBinding in org.snmp4j.smi
Methods in org.snmp4j.smi that return VariableBindingModifier and TypeMethodDescriptionstatic 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 VariableBindingModifier and TypeMethodDescriptionSnmpURI.sendByBinding
(URI url, List<VariableBinding> values, int pduType) SnmpURI.updateByBinding
(URI url, List<VariableBinding> values) -
Uses of VariableBinding in org.snmp4j.util
Fields in org.snmp4j.util declared as VariableBindingMethods in org.snmp4j.util that return VariableBindingModifier 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) Methods in org.snmp4j.util with parameters of type VariableBindingModifier 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) Constructors in org.snmp4j.util with parameters of type VariableBindingModifierConstructorDescriptionRetrievalEvent
(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)