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 | Method and Description |
---|---|
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 |
SnmpUInt32.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to encode the integer value into an ASN.1 buffer.
|
int |
SnmpSyntax.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Encodes the data object in the specified buffer using the AsnEncoder
object
|
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 |
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.
|
int |
SnmpVarBind.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Encodes the SnmpVarBind object into 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 |
SnmpNull.encodeASN(byte[] buf,
int offset,
AsnEncoder encoder)
Used to encode the null 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.
|
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.
|
void |
SnmpTrapSession.send(SnmpPeer peer,
SnmpPduPacket pdu)
Transmits the specified SnmpRequest to the SnmpPeer defined.
|
void |
SnmpTrapSession.send(SnmpPeer peer,
SnmpPduTrap trap)
Transmits the specified SnmpPduTrap to the SnmpPeer defined The
SnmpPduTrap is encoded using the peer AsnEncoder, as defined by the
SnmpParameters.
|
Modifier and Type | Method and Description |
---|---|
int |
BerEncoder.buildHeader(byte[] buf,
int startOffset,
byte asnType,
int asnLength)
The buildHeader() method is used to encode an ASN.1 header into the
specified byte buffer.
|
int |
AsnEncoder.buildHeader(byte[] buf,
int startOffset,
byte asnType,
int asnLength)
The buildHeader() method is used to encode an ASN.1 header into the
specified byte buffer.
|
int |
BerEncoder.buildInteger32(byte[] buf,
int startOffset,
byte asnType,
int asnInt32)
The buildInteger32() method is used to encode an ASN.1 32-bit signed
integer into the specified byte buffer.
|
int |
AsnEncoder.buildInteger32(byte[] buf,
int startOffset,
byte asnType,
int asnInt32)
The buildInteger32() method is used to encode an ASN.1 32-bit signed
integer into the specified byte buffer.
|
int |
BerEncoder.buildLength(byte[] buf,
int startOffset,
int asnLength)
The buildLength() method is used to encode an ASN.1 length into the
specified byte buffer.
|
int |
AsnEncoder.buildLength(byte[] buf,
int startOffset,
int asnLength)
The buildLength() method is used to encode an ASN.1 length into the
specified byte buffer.
|
int |
BerEncoder.buildNull(byte[] buf,
int startOffset,
byte asnType)
The buildNull() method is used to encode an ASN.1 NULL value into the
specified byte buffer.
|
int |
AsnEncoder.buildNull(byte[] buf,
int startOffset,
byte asnType)
The buildNull() method is used to encode an ASN.1 NULL value into the
specified byte buffer.
|
int |
BerEncoder.buildObjectId(byte[] buf,
int startOffset,
byte asnType,
int[] oids)
The buildObjectId() method is used to encode an ASN.1 object id value
into the specified byte buffer.
|
int |
AsnEncoder.buildObjectId(byte[] buf,
int startOffset,
byte asnType,
int[] oids)
The buildObjectId() method is used to encode an ASN.1 object id value
into the specified byte buffer.
|
int |
BerEncoder.buildString(byte[] buf,
int startOffset,
byte asnType,
byte[] opaque)
The buildString() method is used to encode an ASN.1 string value into the
specified byte buffer.
|
int |
AsnEncoder.buildString(byte[] buf,
int startOffset,
byte asnType,
byte[] opaque)
The buildString() method is used to encode an ASN.1 string value into the
specified byte buffer.
|
int |
BerEncoder.buildUInteger32(byte[] buf,
int startOffset,
byte asnType,
long asnUInt32)
The buildUInteger32() method is used to encode an ASN.1 32-bit unsigned
integer into the specified byte buffer.
|
int |
AsnEncoder.buildUInteger32(byte[] buf,
int startOffset,
byte asnType,
long asnUInt32)
The buildUInteger32() method is used to encode an ASN.1 32-bit unsigned
integer into the specified byte buffer.
|
int |
BerEncoder.buildUInteger64(byte[] buf,
int startOffset,
byte asnType,
BigInteger asnUInt64)
The buildUInteger64() method is used to encode an ASN.1 64-bit unsigned
integer into the specified byte buffer.
|
int |
AsnEncoder.buildUInteger64(byte[] buf,
int startOffset,
byte asnType,
BigInteger asnUInt64)
The buildUInteger64() method is used to encode an ASN.1 64-bit unsigned
integer into the specified byte buffer.
|
Copyright © 2021. All rights reserved.