|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.RegistrarImpl.AddressTask
private final class RegistrarImpl.AddressTask
Address for unicast discovery response.
Field Summary | |
---|---|
String |
host
The address |
int |
port
The port |
Constructor Summary | |
---|---|
RegistrarImpl.AddressTask(String host,
int port)
Simple constructor |
Method Summary | |
---|---|
private void |
attemptResponse(InetSocketAddress addr,
int timeout)
attempt a connection to multicast request client |
boolean |
equals(Object obj)
Two tasks are equal if they have the same address and port |
int |
hashCode()
|
void |
run()
Connect and then process a unicast discovery request |
boolean |
runAfter(List tasks,
int size)
No ordering |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final String host
public final int port
Constructor Detail |
---|
public RegistrarImpl.AddressTask(String host, int port)
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
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 consideredprivate void attemptResponse(InetSocketAddress addr, int timeout) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |