private final class RegistrarImpl.SocketTask extends Object implements TaskManager.Task
Constructor and Description |
---|
SocketTask(Socket socket)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Process a unicast discovery request
|
boolean |
runAfter(List tasks,
int size)
No ordering
|
public final Socket socket
public SocketTask(Socket socket)
public boolean runAfter(List tasks, int size)
runAfter
in interface TaskManager.Task
tasks
- the tasks to consider. A read-only List, with all
elements instanceof Task.size
- elements with index less than size should be consideredCopyright 2007-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.