org.snmp4j.test
Class MultiThreadedTrapReceiver

java.lang.Object
  extended by org.snmp4j.test.MultiThreadedTrapReceiver
All Implemented Interfaces:
java.util.EventListener, CommandResponder

public class MultiThreadedTrapReceiver
extends java.lang.Object
implements CommandResponder


Constructor Summary
MultiThreadedTrapReceiver()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void processPdu(CommandResponderEvent event)
          Process an incoming request, report or notification PDU.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiThreadedTrapReceiver

public MultiThreadedTrapReceiver()
Method Detail

run

public void run()

main

public static void main(java.lang.String[] args)

processPdu

public void processPdu(CommandResponderEvent event)
Description copied from interface: CommandResponder
Process an incoming request, report or notification PDU.

Specified by:
processPdu in interface CommandResponder
Parameters:
event - a CommandResponderEvent instance containing the PDU to process and some additional information returned by the message processing model that decoded the SNMP message.

Copyright 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org)