| Package | Description | 
|---|---|
| org.opennms.protocols.snmp | 
 SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.) 
 | 
| org.opennms.protocols.snmp.asn1 | 
 SNMP ASN1 protocol implementation. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static AsnEncoder | 
SnmpParameters.defaultEncoder
The AsnEncoder used by default. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AsnEncoder | 
SnmpTrapSession.getAsnEncoder()
Gets the AsnEncoder for the session. 
 | 
AsnEncoder | 
SnmpSession.getAsnEncoder()
Gets the AsnEncoder for the session. 
 | 
AsnEncoder | 
SnmpParameters.getEncoder()
Retreives the current ASN.1 encoder object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
SnmpIPAddress.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the ASN.1 octet string from the passed buffer. 
 | 
int | 
SnmpCounter64.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to decode the integer value from the ASN.1 buffer. 
 | 
int | 
SnmpPduTrap.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the protocol data unit from the passed buffer. 
 | 
int | 
SnmpOctetString.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the ASN.1 octet string from the passed buffer. 
 | 
int | 
SnmpObjectId.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the ASN.1 object identifer from the passed buffer. 
 | 
int | 
SnmpUInt32.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to decode the integer value from the ASN.1 buffer. 
 | 
int | 
SnmpNull.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to decode the null value from the ASN.1 buffer. 
 | 
int | 
SnmpV2Error.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the passed buffer and updates the object to match the encoded
 information. 
 | 
int | 
SnmpSyntax.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the ASN.1 buffer and sets the values in the SnmpSyntax object. 
 | 
int | 
SnmpVarBind.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to recover the encoded variable data from the passed ASN.1 buffer. 
 | 
int | 
SnmpPduPacket.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Decodes the protocol data unit from the passed buffer. 
 | 
int | 
SnmpInt32.decodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to decode the integer value from the ASN.1 buffer. 
 | 
int | 
SnmpCounter64.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to encode the integer value into an ASN.1 buffer. 
 | 
int | 
SnmpPduTrap.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the protocol data unit using the passed encoder and stores the
 results in the passed buffer. 
 | 
int | 
SnmpOctetString.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the ASN.1 octet string using the passed encoder and stores the
 results in the passed buffer. 
 | 
int | 
SnmpObjectId.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the ASN.1 object identifier using the passed encoder and stores
 the results in the passed buffer. 
 | 
int | 
SnmpUInt32.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to encode the integer value into an ASN.1 buffer. 
 | 
int | 
SnmpNull.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to encode the null value into an ASN.1 buffer. 
 | 
int | 
SnmpV2Error.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the SNMPv2 error into the passed buffer using the encoder object. 
 | 
int | 
SnmpSyntax.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the data object in the specified buffer using the AsnEncoder
 object 
 | 
int | 
SnmpVarBind.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the SnmpVarBind object into the passed buffer. 
 | 
int | 
SnmpPduPacket.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Encodes the protocol data unit using the passed encoder and stores the
 results in the passed buffer. 
 | 
int | 
SnmpInt32.encodeASN(byte[] buf,
         int offset,
         AsnEncoder encoder)
Used to encode the integer value into an ASN.1 buffer. 
 | 
void | 
SnmpPortal.initializePortal(AsnEncoder encoder)  | 
void | 
SnmpTrapSession.setAsnEncoder(AsnEncoder encoder)
Sets the default encoder. 
 | 
void | 
SnmpSession.setAsnEncoder(AsnEncoder encoder)
Sets the default encoder. 
 | 
void | 
SnmpParameters.setEncoder(AsnEncoder encoder)
Sets the ASN.1 encoder. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BerEncoder
The BerEncoder class is used to implement the AsnEncoder interface for the
 Basic Encoding Rules (BER). 
 | 
Copyright © 2020. All rights reserved.