public class MulticastRequestListener
extends java.lang.Object
implements java.util.concurrent.Callable
| Constructor and Description |
|---|
MulticastRequestListener(RequestHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call() |
void |
close()
socket.recieve blocks even when the thread is signalled terminate
so we need to force close the socket from another thread.
|
public MulticastRequestListener(RequestHandler handler)
public java.lang.Object call()
throws java.lang.Exception
call in interface java.util.concurrent.Callablejava.lang.Exceptionpublic void close()