javax.management.snmp.manager
Interface SnmpTrapListener


Deprecated. Use package com.sun.management.snmp.manager in preference to classes in this package. This class may be removed in a future version of Java DMK.

public interface SnmpTrapListener

Should be implemented by classes that wish to receive SNMP trap PDUs.

An SnmpTrapListener will be activated every time the SnmpEventReportDispatcher receives a trap (version 1 or version 2).
If you are interested in handling only a specific version of traps, just implement the corresponding callback.


Method Summary
 void processSnmpTrapV1(SnmpPduTrap aTrapPDU)
          Deprecated. Called by SnmpEventReportDispatcher when a V1 trap is received.
 void processSnmpTrapV2(SnmpPduRequest aTrapPDU)
          Deprecated. Called by SnmpEventReportDispatcher when a V2 trap is received.
 void processSnmpTrapV3(SnmpScopedPduRequest aTrapPDU)
          Deprecated. Called by SnmpEventReportDispatcher when a V2 trap PDU is received within an SNMP V3 message.
 

Method Detail

processSnmpTrapV1

public void processSnmpTrapV1(SnmpPduTrap aTrapPDU)
Deprecated. 
Called by SnmpEventReportDispatcher when a V1 trap is received.

Parameters:
aTrapPDU - The incoming V1 trap PDU.

processSnmpTrapV2

public void processSnmpTrapV2(SnmpPduRequest aTrapPDU)
Deprecated. 
Called by SnmpEventReportDispatcher when a V2 trap is received.

Parameters:
aTrapPDU - The incoming V2 trap PDU.

processSnmpTrapV3

public void processSnmpTrapV3(SnmpScopedPduRequest aTrapPDU)
Deprecated. 
Called by SnmpEventReportDispatcher when a V2 trap PDU is received within an SNMP V3 message.

Parameters:
aTrapPDU - The incoming V3 trap PDU.
Since:
Java DMK 5.0

FCS Release
jdmk-5_1-b34.1 2005.02.10_16:46:09_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.