com.adventnet.snmp.snmp2.agent
Interface SnmpPduRequestListener

All Superinterfaces:
AgentEventListener
All Known Implementing Classes:
PduRequestHandler

public interface SnmpPduRequestListener
extends AgentEventListener

This interface is implemented by the PduRequestHandler to receive SnmpPDUs.

See Also:
SnmpPduRequestEvent, PduRequestHandler

Method Summary
 java.util.Vector getVarBindRequestListeners()
          This method returns the Vector of VarBindRequestListener Objects registered with the PduRequestHandler.
 void processSnmpPduRequest(SnmpPduRequestEvent p1)
          Process the SnmpPduRequestEvent and return the response.
 void setRollBackEnabled(boolean isRollBack)
          The method for enabling or disabling the rollback functionality.
 

Method Detail

processSnmpPduRequest

void processSnmpPduRequest(SnmpPduRequestEvent p1)
Process the SnmpPduRequestEvent and return the response.

Parameters:
p1 - the event passed from the SnmpAgent to PduRequestHandler

getVarBindRequestListeners

java.util.Vector getVarBindRequestListeners()
This method returns the Vector of VarBindRequestListener Objects registered with the PduRequestHandler.

See Also:
VarBindRequestListener, PduRequestHandler

setRollBackEnabled

void setRollBackEnabled(boolean isRollBack)
The method for enabling or disabling the rollback functionality.

Parameters:
isRollBack - The boolean to enable or disable Rollback.