public class MultiThreadedTrapReceiver extends java.lang.Object implements CommandResponder
Modifier and Type | Field and Description |
---|---|
private MultiThreadedMessageDispatcher |
dispatcher |
private Address |
listenAddress |
private int |
n |
private Snmp |
snmp |
private long |
start |
private ThreadPool |
threadPool |
Constructor and Description |
---|
MultiThreadedTrapReceiver() |
Modifier and Type | Method and Description |
---|---|
private void |
init() |
static void |
main(java.lang.String[] args) |
void |
processPdu(CommandResponderEvent event)
Process an incoming request, report or notification PDU.
|
void |
run() |
private MultiThreadedMessageDispatcher dispatcher
private Snmp snmp
private Address listenAddress
private ThreadPool threadPool
private int n
private long start
private void init() throws java.io.IOException
java.io.IOException
public void run()
public static void main(java.lang.String[] args)
public void processPdu(CommandResponderEvent event)
CommandResponder
processPdu
in interface CommandResponder
event
- a CommandResponderEvent
instance containing the PDU to
process and some additional information returned by the message
processing model that decoded the SNMP message.