|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.RegistrarImpl.DecodeRequestTask
private final class RegistrarImpl.DecodeRequestTask
Task for decoding multicast request packets.
Field Summary | |
---|---|
private DatagramPacket |
datagram
The multicast packet to decode |
private Discovery |
decoder
The decoder for parsing the packet |
Constructor Summary | |
---|---|
RegistrarImpl.DecodeRequestTask(DatagramPacket datagram,
Discovery decoder)
|
Method Summary | |
---|---|
void |
run()
Decodes this task's multicast request packet, spawning an AddressTask if the packet satisfies the configured constraints, matches this registrar's groups, and does not already contain this registrar's service ID in its list of known registrars. |
boolean |
runAfter(List tasks,
int size)
No ordering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final DatagramPacket datagram
private final Discovery decoder
Constructor Detail |
---|
public RegistrarImpl.DecodeRequestTask(DatagramPacket datagram, Discovery decoder)
Method Detail |
---|
public void run()
run
in interface Runnable
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 considered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |