Uses of Class
org.snmp4j.mp.StateReference
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for the SNMP message processing.
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of StateReference in org.snmp4j
Modifier and TypeMethodDescription<A extends Address>
intMessageDispatcher.returnResponsePdu
(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation) Returns a response PDU to the sender of the corresponding request PDU.<A extends Address>
intMessageDispatcherImpl.returnResponsePdu
(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation) void
CommandResponderEvent.setStateReference
(StateReference<A> stateReference) ModifierConstructorDescriptionCommandResponderEvent
(MessageDispatcher messageDispatcher, TransportMapping<? super A> transportMapping, A sourceAddress, int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PduHandle pduHandle, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference) Constructs an event for processing an incoming request or notification PDU. -
Uses of StateReference in org.snmp4j.mp
Modifier and TypeClassDescriptionprotected static class
MPv3.CacheEntry<A extends Address>
TheCacheEntry
class holds state reference information for the MPv3 message processing model for a single message.Modifier and TypeMethodDescriptionGets the cache entry with the supplied ID from the cache.MutableStateReference.getStateReference()
Pop the cache entry with the supplied ID from the cache.Modifier and TypeMethodDescriptionint
MPv3.Cache.addEntry
(StateReference<?> entry) Adds aStateReference
to the cache.boolean
StateReference.equalsExceptMsgID
(StateReference<?> other) <A extends Address>
intMessageProcessingModel.prepareResponseMessage
(int messageProcessingModel, int maxMsgSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) Prepares a response message as defined in RFC3412 ยง7.1.<A extends Address>
intMPv1.prepareResponseMessage
(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) <A extends Address>
intMPv2c.prepareResponseMessage
(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation, BEROutputStream outgoingMessage) <A extends Address>
intMPv3.prepareResponseMessage
(int messageProcessingModel, int maxMessageSize, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> 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<A> stateReference) -
Uses of StateReference in org.snmp4j.util
Modifier and TypeMethodDescription<A extends Address>
intMultiThreadedMessageDispatcher.returnResponsePdu
(int messageProcessingModel, int securityModel, byte[] securityName, int securityLevel, PDU pdu, int maxSizeResponseScopedPDU, StateReference<A> stateReference, StatusInformation statusInformation)