com.adventnet.snmp.snmp2.agent
Class RecorderRegistrationEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.adventnet.snmp.snmp2.agent.RecorderRegistrationEvent

Deprecated. The API no longer uses this class.

public class RecorderRegistrationEvent
extends java.util.EventObject

This event is fired by the source classes which are interested in performing registration with the RecorderRegistrationListener.

For example,

The Recorder can fire this event inorder to register with the SnmpProxy(RecorderRegistrationListener) to give incoming request PDU and outgoing response PDU in the SnmpProxy ,so that it can record the Transaction(Request-Response).

Since:
AdventNet Agent Toolkit (Java Edition) 4.2 release.
See Also:
Serialized Form

Field Summary
(package private)  ProxyPduListener listener
          Deprecated.  
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RecorderRegistrationEvent(ProxyPduListener listener)
          Deprecated. Constructor for the RecorderRegistrationEvent
 
Method Summary
 ProxyPduListener getProxyPduListener()
          Deprecated. gets the ProxyPduListener.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

listener

ProxyPduListener listener
Deprecated. 
Constructor Detail

RecorderRegistrationEvent

public RecorderRegistrationEvent(ProxyPduListener listener)
Deprecated. 
Constructor for the RecorderRegistrationEvent
Parameters:
listener - listener of the proxyPdu.
Method Detail

getProxyPduListener

public ProxyPduListener getProxyPduListener()
Deprecated. 
gets the ProxyPduListener.

This method can be used by the SnmpProxy inorder to get the ProxyPduListener to which the pdu will be given when it comes from the manager as a request or from the real agent as a response.

Returns:
the ProxyPduListener registered for the ProxyPdu.