com.adventnet.snmp.snmp2.agent
Class ProxyPduEvent

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

Deprecated. The RecorderRegistrationEvent is deprecated.

public class ProxyPduEvent
extends java.util.EventObject

The ProxyPduEvent gives information about the request Pdu at the proxy agent.

ProxyPduEvent is sent to all listeners interested in the proxied pdu. The ProxyPduEvent contains pdu received

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

Field Summary
(package private)  java.lang.String error
          Deprecated.  
(package private)  SnmpPDU pdu
          Deprecated.  
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProxyPduEvent(java.lang.Object proxyPduEventSource, SnmpPDU pdu, java.lang.String error)
          Deprecated. Constructor for ProxyPduEvent.
 
Method Summary
 java.lang.String getError()
          Deprecated. Get the Error if any problem arises at the proxy agent.
 SnmpPDU getPdu()
          Deprecated. Get the pdu.
 
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

pdu

SnmpPDU pdu
Deprecated. 

error

java.lang.String error
Deprecated. 
Constructor Detail

ProxyPduEvent

public ProxyPduEvent(java.lang.Object proxyPduEventSource,
                     SnmpPDU pdu,
                     java.lang.String error)
Deprecated. 
Constructor for ProxyPduEvent.
Parameters:
ProxyPduEventSource - source of the proxy pdu listener.
pdu - the received SnmpPDU.
Method Detail

getPdu

public SnmpPDU getPdu()
Deprecated. 
Get the pdu. The pdu that is received at the proxy from manager as a request. or from the real agent to proxy as a response.
Returns:
SnmpPDU

getError

public java.lang.String getError()
Deprecated. 
Get the Error if any problem arises at the proxy agent.
Returns:
the String error message.