APC AP9212 User's Guide Page 121

  • Download
  • Add to my manuals
  • Print
  • Page
    / 147
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 120
121
F.1.6. SnmpTrapDaemon.java
/**
* $Id: SnmpTrapDaemon.java,v 1.3 2002/10/22 08:23:11 oliverm Exp $
* Author: Oliver Mather
*
*/
package apt.masterswitch.snmp;
/**
* Description:
* <p>
* This interface specifies the methods required for an
* SNMP TrapDaemon.
* <p> An SNMP Trap Daemon will listen on UDP port 162 for SNMP traps, generating
* an event to notify SnmpTrapListeners that an event has occurred.
* <p>
* This interfaces it used by {@link apt.masterswitch.snmp.SNMPMasterswitch } to
* detect state changes on the masterswitch device.
*
* @see apt.masterswitch.snmp.SnmpTrapListener
* @see apt.masterswitch.Masterswitch
* @author $Author: oliverm $ <a href="mailto:oliverm@student.unsw.edu.au">Oliver Mather</a>
* @version $Revision: 1.3 $
*
*/
public interface SnmpTrapDaemon {
/**
* Start listening to SNMP traps
*/
public void start();
/**
* Stop listening to SNMP Traps
*/
public void stop();
/**
* Register the {@link apt.masterswitch.snmp.SnmpTrapListener} object
* so that it receives events.
* <p>
* @param listener The object to receive events
* @see apt.masterswitch.snmp.SnmpTrapListener
*/
public void addSnmpTrapListener(SnmpTrapListener listener);
/**
* Removes the {@link apt.masterswitch.snmp.SnmpTrapListener} object so it no longer
* receives events.
* <p>
* @param listener The object to no longer receive events
* @see apt.masterswitch.snmp.SnmpTrapListener
*/
public void removeSnmpTrapListener(SnmpTrapListener listener);
}
Page view 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 146 147

Comments to this Manuals

No comments