Package | Description |
---|---|
org.opennms.netmgt.snmp.joesnmp |
Use JoeSNMP for SNMP support in OpenNMS.
|
org.opennms.protocols.snmp |
SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.)
|
Modifier and Type | Method and Description |
---|---|
void |
JoeSnmpWalker.JoeSnmpResponseHandler.snmpInternalError(SnmpSession session,
int err,
SnmpSyntax pdu) |
void |
JoeSnmpWalker.JoeSnmpResponseHandler.snmpTimeoutError(SnmpSession session,
SnmpSyntax pdu) |
Modifier and Type | Class and Description |
---|---|
class |
SnmpCounter32
Defines a SNMPv1 32-bit counter object.
|
class |
SnmpCounter64
This class defines the 64-bit SNMP counter object used to transmit 64-bit
unsigned number.
|
class |
SnmpEndOfMibView
The SnmpEndOfMibView object is typically returned by an SNMPv2 agent when
there is no lexagraphically next object identifier in its tables.
|
class |
SnmpGauge32
Defines a SNMPv1 32-bit gauge object.
|
class |
SnmpInt32
This class defines the SNMP 32-bit signed integer used by the SNMP SMI.
|
class |
SnmpIPAddress
This SnmpIPAddress is used to extend the SNMP Octet String SMI class.
|
class |
SnmpNoSuchInstance
The SnmpNoSuchInstance object is typically returned by an SNMPv2 agent when
there is no matching object identifier instance in its tables.
|
class |
SnmpNoSuchObject
The SnmpNoSuchObject object is typically returned by an SNMPv2 agent when
there is no matching object identifier for the agent.
|
class |
SnmpNull
Implements the SNMP Null object as defined by the SNMPv1 and SNMPv2 SMI.
|
class |
SnmpObjectId
Defines the SNMP object identifier class for naming variables.
|
class |
SnmpOctetString
Implements the ASN1.UNIVERSAL Octet String datatype.
|
class |
SnmpOpaque
The SnmpOpaque class is an extension of the octet string class and is used to
pass opaque data.
|
class |
SnmpPduBulk
This class defines the SNMPv2 GetBulk request sent from the management
platform to the agent.
|
class |
SnmpPduPacket
Base class for all Protocol Data Unit (PDU) implementations.
|
class |
SnmpPduRequest
The SnmpPduRequest defines the SNMPv1 and SNMPv2 Protocol Data Unit (PDU) for
certain message types.
|
class |
SnmpPduTrap
The SnmpPduTrap object represents the SNMP Protocol Data Unit for an SNMP
Trap.
|
class |
SnmpTimeTicks
Defines a SNMPv1 32-bit time ticks object.
|
class |
SnmpUInt32
This class defines the 32-bit unsigned SNMP object used to transmit 32-bit
unsigned number.
|
class |
SnmpV2Error
This class provides the base class for the SNMP V2 error class.
|
class |
SnmpV2PartyClock
Deprecated.
Obsoleted in RFC 1902.
|
class |
SnmpVarBind
This class defined the SNMP variables that are transmitted to and from an
agent.
|
Modifier and Type | Method and Description |
---|---|
SnmpSyntax |
SnmpEndOfMibView.duplicate()
Returns a duplicate object of self.
|
SnmpSyntax |
SnmpOctetString.duplicate()
Creates a duplicate copy of the object and returns it to the caller.
|
SnmpSyntax |
SnmpCounter32.duplicate()
Creates a new object that is a duplicate of the current object.
|
SnmpSyntax |
SnmpUInt32.duplicate()
Returns a duplicte of the current object
|
SnmpSyntax |
SnmpTimeTicks.duplicate()
Creates a new object that is a duplicate of the current object.
|
SnmpSyntax |
SnmpSyntax.duplicate()
Creates a duplicate (in memory) object of the caller.
|
SnmpSyntax |
SnmpIPAddress.duplicate()
Create a new object that is a duplicate of the current object.
|
SnmpSyntax |
SnmpObjectId.duplicate()
Serves the same purpose as the method clone().
|
abstract SnmpSyntax |
SnmpPduPacket.duplicate()
Defined for derived classes to return a duplicate of self.
|
SnmpSyntax |
SnmpOpaque.duplicate()
Returns a duplicate of the current object.
|
SnmpSyntax |
SnmpPduBulk.duplicate()
Creates a new duplicate object of self that shares no references with the
original PDU.
|
SnmpSyntax |
SnmpInt32.duplicate()
Returns a duplicate of the current object.
|
SnmpSyntax |
SnmpNoSuchInstance.duplicate()
Returns a duplicate object of self.
|
abstract SnmpSyntax |
SnmpV2Error.duplicate()
Returns a duplicate of the current object.
|
SnmpSyntax |
SnmpNull.duplicate()
Used to get a duplicate of the current object so that it can be modified
without affecting the creating object.
|
SnmpSyntax |
SnmpGauge32.duplicate()
Creates a new object that is a duplicate of the current object.
|
SnmpSyntax |
SnmpCounter64.duplicate()
Returns a duplicte of the current object
|
SnmpSyntax |
SnmpV2PartyClock.duplicate()
Deprecated.
Creates and returns a duplicate object of self.
|
SnmpSyntax |
SnmpNoSuchObject.duplicate()
Returns a duplicate object of self.
|
SnmpSyntax |
SnmpPduTrap.duplicate() |
SnmpSyntax |
SnmpPduRequest.duplicate()
Used to get a duplicate of self.
|
SnmpSyntax |
SnmpSession.get(SnmpObjectId oid) |
SnmpSyntax[] |
SnmpSession.get(SnmpObjectId[] oids) |
SnmpSyntax[] |
SnmpSession.getBulk(int nonRepeaters,
int maxReptitions,
SnmpObjectId id) |
SnmpSyntax[] |
SnmpSession.getBulk(int nonRepeaters,
int maxRepititions,
SnmpObjectId[] oids) |
SnmpSyntax |
SnmpResponseHandler.getFirstResponseValue() |
SnmpSyntax |
SnmpSession.getNext(SnmpObjectId oid) |
SnmpSyntax[] |
SnmpSession.getNext(SnmpObjectId[] oids) |
SnmpSyntax |
SnmpResponseHandler.getResponseValue(int index) |
SnmpSyntax |
SnmpVarBind.getValue()
Retreives the variable's value.
|
SnmpSyntax[] |
SnmpSession.set(SnmpObjectId[] oids,
SnmpSyntax[] values) |
SnmpSyntax |
SnmpSession.set(SnmpObjectId oid,
SnmpSyntax value) |
Modifier and Type | Method and Description |
---|---|
static void |
SnmpSession.registerSyntaxObject(SnmpSyntax object)
Allows library users to register new ASN.1 types with the SNMP library.
|
SnmpSyntax[] |
SnmpSession.set(SnmpObjectId[] oids,
SnmpSyntax[] values) |
SnmpSyntax |
SnmpSession.set(SnmpObjectId oid,
SnmpSyntax value) |
void |
SnmpVarBind.setValue(SnmpSyntax value)
Sets the value for the variable
|
void |
SnmpHandler.snmpInternalError(SnmpSession session,
int err,
SnmpSyntax pdu)
This method is invoked when an internal error occurs for the session.
|
void |
SnmpResponseHandler.snmpInternalError(SnmpSession sess,
int err,
SnmpSyntax obj)
This method is invoked when an internal error occurs on the SNMP session.
|
void |
SnmpHandler.snmpTimeoutError(SnmpSession session,
SnmpSyntax pdu)
This method is invoked when an agent fails to respond in the required
time.
|
void |
SnmpResponseHandler.snmpTimeoutError(SnmpSession sess,
SnmpSyntax pkt)
This method is invoked when the session fails to receive a response to a
particular packet.
|
static int |
SnmpSMI.toInt(SnmpSyntax result,
int deflt) |
Constructor and Description |
---|
SnmpVarBind(SnmpObjectId name,
SnmpSyntax value)
Constructs a variable with the passed name and value.
|
SnmpVarBind(String name,
SnmpSyntax value)
Constructs a new variable with the passed name and value.
|
Copyright © 2021. All rights reserved.