Package org.opennms.netmgt.snmp.snmp4j
Class BufferRewindingMessageDispatcher
- java.lang.Object
-
- org.snmp4j.MessageDispatcherImpl
-
- org.opennms.netmgt.snmp.snmp4j.BufferRewindingMessageDispatcher
-
- All Implemented Interfaces:
org.snmp4j.MessageDispatcher
,org.snmp4j.transport.TransportListener
public class BufferRewindingMessageDispatcher extends org.snmp4j.MessageDispatcherImpl
AMessageDispatcherImpl
implementation that rewinds the buffer before processing. Useful for chaining multiple dispatchers in sequence.
-
-
Constructor Summary
Constructors Constructor Description BufferRewindingMessageDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processMessage(org.snmp4j.TransportMapping sourceTransport, org.snmp4j.smi.Address incomingAddress, java.nio.ByteBuffer wholeMessage, org.snmp4j.TransportStateReference tmStateReference)
-
Methods inherited from class org.snmp4j.MessageDispatcherImpl
addAuthenticationFailureListener, addCommandResponder, addCounterListener, addMessageProcessingModel, addTransportMapping, checkOutgoingMsg, configureAuthoritativeEngineID, createPduHandle, dispatchMessage, fireAuthenticationFailure, fireIncrementCounter, fireProcessPdu, getMessageProcessingModel, getNextRequestID, getTransport, getTransportMappings, isCheckOutgoingMsg, processMessage, releaseStateReference, removeAuthenticationFailureListener, removeCommandResponder, removeCounterListener, removeMessageProcessingModel, removeTransportMapping, returnResponsePdu, sendMessage, sendPdu, sendPdu, sendPdu, setCheckOutgoingMsg
-
-
-
-
Method Detail
-
processMessage
public void processMessage(org.snmp4j.TransportMapping sourceTransport, org.snmp4j.smi.Address incomingAddress, java.nio.ByteBuffer wholeMessage, org.snmp4j.TransportStateReference tmStateReference)
- Specified by:
processMessage
in interfaceorg.snmp4j.MessageDispatcher
- Specified by:
processMessage
in interfaceorg.snmp4j.transport.TransportListener
- Overrides:
processMessage
in classorg.snmp4j.MessageDispatcherImpl
-
-