Package | Description |
---|---|
org.snmp4j |
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
|
org.snmp4j.mp |
Provides classes and interfaces for the SNMP message processing.
|
org.snmp4j.util |
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
StateReference |
CommandResponderEvent.getStateReference() |
Modifier and Type | Method and Description |
---|---|
int |
MessageDispatcher.returnResponsePdu(int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation)
Returns a response PDU to the sender of the corresponding request PDU.
|
int |
MessageDispatcherImpl.returnResponsePdu(int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation) |
void |
CommandResponderEvent.setStateReference(StateReference stateReference) |
Constructor and Description |
---|
CommandResponderEvent(MessageDispatcher messageDispatcher,
TransportMapping transportMapping,
Address sourceAddress,
int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PduHandle pduHandle,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference)
Constructs an event for processing an incoming request or notification PDU.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
MPv3.CacheEntry
The
CacheEntry class holds state reference information
for the MPv3 message processing model for a single message. |
Modifier and Type | Method and Description |
---|---|
StateReference |
MutableStateReference.getStateReference() |
StateReference |
MPv3.Cache.popEntry(int msgID)
Pop the cache entry with the supplied ID from the cache.
|
Modifier and Type | Method and Description |
---|---|
int |
MPv3.Cache.addEntry(StateReference entry)
Adds a
StateReference to the cache. |
boolean |
StateReference.equalsExceptMsgID(StateReference other) |
int |
MessageProcessingModel.prepareResponseMessage(int messageProcessingModel,
int maxMsgSize,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation,
BEROutputStream outgoingMessage)
Prepares a response message as defined in RFC3412 ยง7.1.
|
int |
MPv2c.prepareResponseMessage(int messageProcessingModel,
int maxMessageSize,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation,
BEROutputStream outgoingMessage) |
int |
MPv3.prepareResponseMessage(int messageProcessingModel,
int maxMessageSize,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation,
BEROutputStream outgoingMessage) |
int |
MPv1.prepareResponseMessage(int messageProcessingModel,
int maxMessageSize,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation,
BEROutputStream outgoingMessage) |
int |
MPv3.sendReport(MessageDispatcher messageDispatcher,
ScopedPDU pdu,
int securityLevel,
int securityModel,
OctetString securityName,
int maxSizeResponseScopedPDU,
StateReference stateReference,
VariableBinding payload)
Sends a report message.
|
void |
MutableStateReference.setStateReference(StateReference stateReference) |
Modifier and Type | Method and Description |
---|---|
int |
MultiThreadedMessageDispatcher.returnResponsePdu(int messageProcessingModel,
int securityModel,
byte[] securityName,
int securityLevel,
PDU pdu,
int maxSizeResponseScopedPDU,
StateReference stateReference,
StatusInformation statusInformation) |
Copyright © 2017 SNMP4J.org. All rights reserved.