Package | Description |
---|---|
org.snmp4j |
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
|
org.snmp4j.event |
Provides classes and interfaces for SNMP4J event processing.
|
org.snmp4j.security |
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Variable |
PDU.getVariable(OID prefix)
Gets the first variable whose OID starts with the specified OID.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDUv1.checkNull(Variable parameter)
Checks for null parameters.
|
protected boolean |
PDUv1.isVariableV1(Variable v)
Check if the given variable can be encoded into a SNMPv1 PDU.
|
Modifier and Type | Method and Description |
---|---|
Variable |
CounterEvent.getCurrentValue()
Gets the current value of the counter, as set by the maintainer of the
counter (one of the event listeners).
|
Modifier and Type | Method and Description |
---|---|
void |
CounterEvent.setCurrentValue(Variable currentValue)
Sets the current value of the counter.
|
Modifier and Type | Class and Description |
---|---|
class |
TsmSecurityParameters
SecurityParameters implementation for the TSM
security model. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVariable
The
Variable abstract class is the base class for all SNMP
variables. |
class |
BitString
The
BitString class represents the obsolete SMI type
BIT STRING which has been defined in RFC 1442 (an SNMPv2 draft) but
which has been obsoleteted by RFC 1902 and RFC 2578. |
class |
Counter32
The
Counter32 class allows all the functionality of unsigned
integers but is recognized as a distinct SMI type, which is used for
monotonically increasing values that wrap around at 2^32-1 (4294967295). |
class |
Counter64
The
Counter64 class represents a 64bit unsigned integer type. |
class |
Gauge32
The
Gauge32 class is indistinguishable from
UnsingedInteger32 . |
class |
GenericAddress
The
GenericAddress implements the decorator and factory
design pattern to provide a generic address type. |
class |
Integer32
The
Integer32 represents 32bit signed integer values for SNMP. |
class |
IpAddress
The
IpAddress class represents an IPv4 address SNMP variable. |
class |
Null
The
Null class represents SMI Null and the derived
SMIv2 exception syntaxes. |
class |
OctetString
The
OctetString class represents the SMI type OCTET STRING. |
class |
OID
The Object Identifier Class.
|
class |
Opaque
The
Opaque class represents the SMI type Opaque which is used
to transparently exchange BER encoded values. |
class |
SMIAddress
A
SMIAddress is an address that is defined by the Structure
of Management Information (SMI) and can be thereby serialized through the
Basic Encoding Rules (BER) used by the SNMP protocol. |
class |
SshAddress
The
SshAddress represents a SSH transport addresses as defined
by RFC 5592 SnmpSSHAddress textual convention. |
class |
TcpAddress
The
TcpAddress represents TCP/IP transport addresses. |
class |
TimeTicks
The
TimeTicks class represents the time in 1/100 seconds
since some epoch (which should be have been defined in the
corresponding MIB specification). |
class |
TlsAddress
The
SshAddress represents a SSH transport addresses as defined
by RFC 5953 SnmpTSLAddress textual convention. |
class |
TransportIpAddress
The
TransportIpAddress is the abstract base class for all
transport addresses on top of IP network addresses. |
class |
UdpAddress
The
UdpAddress represents UDP/IP transport addresses. |
class |
UnsignedInteger32
UnsignedInteger32 type is an SNMP type that represents unsigned 32bit
integer values (0 to 4294967295).
|
class |
VariantVariable
The
VariantVariable provides a decorator for any type
of Variable instance, to be able to intercept or monitor variable
value modification by using a VariantVariableCallback . |
Modifier and Type | Method and Description |
---|---|
static Variable |
AbstractVariable.createFromBER(BERInputStream inputStream)
Creates a
Variable from a BER encoded InputStream . |
static Variable |
AbstractVariable.createFromSyntax(int smiSyntax)
Creates a
Variable from the supplied SMI syntax identifier. |
Variable |
VariantVariable.getVariable()
Returns the typed variable that holds the wrapped value.
|
Variable |
VariableBinding.getVariable()
Gets the value of the variable binding.
|
Modifier and Type | Method and Description |
---|---|
int |
OctetString.compareTo(Variable o) |
int |
TransportIpAddress.compareTo(Variable o) |
int |
UnsignedInteger32.compareTo(Variable o) |
int |
Integer32.compareTo(Variable o) |
int |
IpAddress.compareTo(Variable o) |
int |
VariantVariable.compareTo(Variable o) |
int |
Null.compareTo(Variable o) |
abstract int |
AbstractVariable.compareTo(Variable o) |
int |
OID.compareTo(Variable o) |
int |
Variable.compareTo(Variable o) |
int |
GenericAddress.compareTo(Variable o) |
int |
Counter64.compareTo(Variable o) |
void |
VariableBinding.setVariable(Variable variable)
Sets the value of the variable binding.
|
Constructor and Description |
---|
VariableBinding(OID oid,
Variable variable)
Creates a variable binding with the supplied OID and value.
|
VariantVariable(Variable initialVariable)
Creates a variant variable wrapping the specified value.
|
VariantVariable(Variable initialVariable,
VariantVariableCallback callback)
Creates a variant variable wrapping the specified value and a callback
that monitors value modifications.
|
Modifier and Type | Method and Description |
---|---|
SnmpUriResponse |
SnmpURI.updateByValue(URI url,
List<Variable> values) |
Modifier and Type | Method and Description |
---|---|
Variable |
SimpleVariableTextFormat.parse(int smiSyntax,
String text)
This operation is not supported by
SimpleVariableTextFormat . |
Variable |
VariableTextFormat.parse(int smiSyntax,
String text)
Parses a textual representation of a variable against a SMI type.
|
Variable |
SimpleVariableTextFormat.parse(OID classOrInstanceOID,
String text)
This operation is not supported by
SimpleVariableTextFormat . |
Variable |
VariableTextFormat.parse(OID classOrInstanceOID,
String text)
Parses a textual representation of a variable against its associated
OBJECT-TYPE OID.
|
Modifier and Type | Method and Description |
---|---|
String |
SimpleVariableTextFormat.format(OID instanceOID,
Variable variable,
boolean withOID)
Returns a textual representation of the supplied variable against the
optionally supplied instance OID.
|
String |
VariableTextFormat.format(OID instanceOID,
Variable variable,
boolean withOID)
Returns a textual representation of the supplied variable against the
optionally supplied instance OID.
|
Copyright © 2023 SNMP4J.org. All rights reserved.