Package net.i2p.router.client
Class LookupDestJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.client.LookupDestJob
- All Implemented Interfaces:
Job
Look up the lease of a hash, to convert it to a Destination for the client.
Or, since 0.9.11, lookup a hostname in the naming service.
-
Constructor Summary
ConstructorsConstructorDescriptionLookupDestJob(RouterContext context, ClientConnectionRunner runner, long reqID, long timeout, SessionId sessID, int type, Hash h, String name, Destination dest, Hash fromLocalDest) One of h or name or dest non-null.LookupDestJob(RouterContext context, ClientConnectionRunner runner, Hash h, Hash fromLocalDest) -
Method Summary
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, madeReady, requeue, toString
-
Constructor Details
-
LookupDestJob
public LookupDestJob(RouterContext context, ClientConnectionRunner runner, Hash h, Hash fromLocalDest) -
LookupDestJob
public LookupDestJob(RouterContext context, ClientConnectionRunner runner, long reqID, long timeout, SessionId sessID, int type, Hash h, String name, Destination dest, Hash fromLocalDest) One of h or name or dest non-null. For hash or b32 name, the dest will be returned if the LS can be found, even if the dest uses unsupported crypto.- Parameters:
reqID- must be >= 0 if name != nullsessID- must non-null if reqID >= 0type- as defined in HostLookupMessageh- only valid for type 0, 2, 4name- only valid for type 1, 3dest- only valid for type 4fromLocalDest- use these tunnels for the lookup, or null for exploratory- Since:
- 0.9.11
-
-
Method Details