|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.psepr.jClient.LeaseCollection
public class LeaseCollection
This handles the collection of leases for the connection. This abstracts the information from a data structure in the connection class into something that can be used by everyone who handles the incoming stream of messages - the parser and the queuer.
This is not used by any user of the library.
| Constructor Summary | |
|---|---|
LeaseCollection()
|
|
| Method Summary | |
|---|---|
void |
addLease(PsEPRLease ls)
|
void |
forceRenegotiation()
Called to force all of the leases to renegotiate. |
Payload |
parsePayload(java.lang.String ns,
org.xmlpull.v1.XmlPullParser parser)
Called when every payload is received. |
void |
receiveEvent(PsEPREvent ev)
Called when every event is received. |
void |
releaseAllLeases()
|
void |
releaseLease(PsEPRLease ls)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeaseCollection()
| Method Detail |
|---|
public void addLease(PsEPRLease ls)
public void releaseLease(PsEPRLease ls)
public void releaseAllLeases()
public void forceRenegotiation()
public Payload parsePayload(java.lang.String ns,
org.xmlpull.v1.XmlPullParser parser)
ns - the contents of xmlns of the payloadparser -
public void receiveEvent(PsEPREvent ev)
ev - the PsEPREvent structure of the received event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||