java.lang.Object
org.snmp4j.transport.DefaultUdpTransportMapping.ListenThread
- All Implemented Interfaces:
Runnable
,WorkerTask
- Enclosing class:
DefaultUdpTransportMapping
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ListenThread
- Throws:
SocketException
-
-
Method Details
-
run
public void run() -
close
public void close() -
terminate
public void terminate()Description copied from interface:WorkerTask
TheWorkerPool
might call this method to hint the activeWorkTask
instance to complete execution as soon as possible.- Specified by:
terminate
in interfaceWorkerTask
-
join
Description copied from interface:WorkerTask
Waits until this task has been finished.- Specified by:
join
in interfaceWorkerTask
- Throws:
InterruptedException
- if the join has been interrupted by another thread.
-
interrupt
public void interrupt()Description copied from interface:WorkerTask
Interrupts this task.- Specified by:
interrupt
in interfaceWorkerTask
- See Also:
-