Package | Description |
---|---|
org.opennms.protocols.snmp | |
org.opennms.protocols.snmp.asn1 |
Modifier and Type | Field and Description |
---|---|
static AsnEncoder |
SnmpParameters.defaultEncoder
The AsnEncoder used by default.
|
private AsnEncoder |
SnmpTrapSession.m_encoder
ASN.1 codec used to encode/decode snmp
traps that are sent and received by this
session.
|
(package private) AsnEncoder |
SnmpSession.m_encoder
ASN encoder
|
private AsnEncoder |
SnmpAgentSession.m_encoder
ASN.1 codec used to encode/decode snmp
traps that are sent and received by this
session.
|
private AsnEncoder |
SnmpPortal.m_encoder
ASN.1 encoder used to decode the SNMP messages.
|
private AsnEncoder |
SnmpParameters.m_encoder
The AsnEncoder object used by the session to
encode and decode information.
|
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 |
SnmpAgentSession.getAsnEncoder()
Gets the AsnEncoder for the session.
|
(package private) AsnEncoder |
SnmpPortal.getAsnEncoder()
Gets the AsnEncoder for the session.
|
AsnEncoder |
SnmpParameters.getEncoder()
Retreives the current ASN.1 encoder object.
|
Modifier and Type | Method and Description |
---|---|
int |
SnmpInt32.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to decode the integer value from the ASN.1 buffer.
|
int |
SnmpObjectId.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the ASN.1 object identifer from the passed buffer.
|
int |
SnmpIPAddress.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the ASN.1 octet string from the passed buffer.
|
int |
SnmpOctetString.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the ASN.1 octet string from the passed buffer.
|
int |
SnmpV2Error.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the passed buffer and updates the object to
match the encoded information.
|
int |
SnmpVarBind.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to recover the encoded variable data from the
passed ASN.1 buffer.
|
int |
SnmpNull.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to decode the null value from the ASN.1 buffer.
|
int |
SnmpPduPacket.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the protocol data unit from the passed buffer.
|
int |
SnmpSyntax.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the ASN.1 buffer and sets the values in
the SnmpSyntax object.
|
int |
SnmpPduTrap.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Decodes the protocol data unit 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 |
SnmpCounter64.decodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to decode the integer value from the ASN.1 buffer.
|
int |
SnmpInt32.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to encode the integer value into an ASN.1 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 |
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 |
SnmpV2Error.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Encodes the SNMPv2 error into the passed buffer
using the encoder object.
|
int |
SnmpVarBind.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Encodes the SnmpVarBind object into the passed buffer.
|
int |
SnmpNull.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to encode the null value into an ASN.1 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 |
SnmpSyntax.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Encodes the data object in the specified
buffer using the AsnEncoder object
|
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 |
SnmpUInt32.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to encode the integer value into an ASN.1 buffer.
|
int |
SnmpCounter64.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to encode the integer value into an ASN.1 buffer.
|
void |
SnmpTrapSession.setAsnEncoder(AsnEncoder encoder)
Sets the default encoder.
|
void |
SnmpSession.setAsnEncoder(AsnEncoder encoder)
Sets the default encoder.
|
void |
SnmpAgentSession.setAsnEncoder(AsnEncoder encoder)
Sets the default encoder.
|
(package private) void |
SnmpPortal.setAsnEncoder(AsnEncoder encoder)
Sets the default encoder.
|
void |
SnmpParameters.setEncoder(AsnEncoder encoder)
Sets the ASN.1 encoder.
|
Constructor and Description |
---|
SnmpPortal(SnmpPacketHandler handler,
AsnEncoder encoder,
int port)
The SnmpPortal constructor.
|
SnmpPortal(SnmpPacketHandler handler,
AsnEncoder encoder,
int port,
java.net.InetAddress laddr)
The SnmpPortal constructor.
|
SnmpPortal(SnmpPacketHandler handler,
AsnEncoder encoder,
int port,
java.net.InetAddress laddr,
int numOfThreads) |
SnmpPortal(SnmpPacketHandler handler,
AsnEncoder encoder,
int port,
java.net.InetAddress laddr,
int numOfThreads,
int receiveBufferSize,
int sendBufferSize)
The SnmpPortal constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BerEncoder
The BerEncoder class is used to implement the AsnEncoder interface for
the Basic Encoding Rules (BER).
|
Generated by iurt on 2015.