|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.client.LeaseRequestState
class LeaseRequestState
Bundle up the data points necessary when asynchronously requesting a lease from a client
Constructor Summary | |
---|---|
LeaseRequestState(Job onGranted,
Job onFailed,
long expiration,
LeaseSet requested)
|
Method Summary | |
---|---|
long |
getExpiration()
when the request for the lease set expires |
LeaseSet |
getGranted()
created lease set from client |
boolean |
getIsSuccessful()
whether the request was successful in the time allotted |
Job |
getOnFailed()
what to do if the lease set create fails / times out |
Job |
getOnGranted()
what to do once the lease set is created |
PrivateKey |
getPrivateKey()
the private encryption key received regarding the lease set |
void |
getPrivateKey(PrivateKey pk)
|
LeaseSet |
getRequested()
lease set that is being requested |
SigningPrivateKey |
getSigningPrivateKey()
the private signing key received regarding the lease set (for revocation) |
void |
getSigningPrivateKey(SigningPrivateKey spk)
|
void |
setGranted(LeaseSet ls)
|
void |
setIsSuccessful(boolean is)
|
void |
setOnFailed(Job jb)
|
void |
setOnGranted(Job jb)
|
void |
setRequested(LeaseSet ls)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LeaseRequestState(Job onGranted, Job onFailed, long expiration, LeaseSet requested)
Method Detail |
---|
public LeaseSet getGranted()
public void setGranted(LeaseSet ls)
public LeaseSet getRequested()
public void setRequested(LeaseSet ls)
public PrivateKey getPrivateKey()
public void getPrivateKey(PrivateKey pk)
public SigningPrivateKey getSigningPrivateKey()
public void getSigningPrivateKey(SigningPrivateKey spk)
public Job getOnGranted()
public void setOnGranted(Job jb)
public Job getOnFailed()
public void setOnFailed(Job jb)
public long getExpiration()
public boolean getIsSuccessful()
public void setIsSuccessful(boolean is)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |