|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DPRPLease in edu.uiuc.cs.net.DPRPManager |
Fields in edu.uiuc.cs.net.DPRPManager declared as DPRPLease | |
DPRPLease |
DPRPClient.gotLease
Notifies the session that we already have a valid lease, and that it should simply sit on it (i.e. |
protected DPRPLease |
DPRPLeaseEvent.sentLease
The DPRPLease object that we are sending. |
private DPRPLease |
DPRPClientSession.curLease
A reference to the current lease that we are holding. |
private DPRPLease |
GUI_DPRPClient.curSelectedLease
A reference to the DPRPLease object that is in the current, user-selected row in the table. |
Methods in edu.uiuc.cs.net.DPRPManager that return DPRPLease | |
DPRPLease |
ServerPortMgr.getReservation(DPRPMessage inMessage)
Retrieves a lease from the Map that corresponds to the given message. |
DPRPLease |
DPRPLeaseEvent.getLease()
Returns the lease that is attached to this event. |
private DPRPLease |
DPRPClientSession.requestLease()
Uses lower-level methods to request a lease from the server. |
private DPRPLease |
DPRPClientSession.renewLease(DPRPLease lea)
Attempts to renew an outstanding lease. |
private DPRPLease |
DPRPClientSession.terminateLease(DPRPLease lea)
Sends a CLI_TERMINATE_LEASE message, immediately
revoking the given lease. |
static DPRPLease |
DPRPLease.fromString(java.lang.String str)
Converts a string representation of a lease into a DPRPLease object. |
DPRPLease |
DPRPLeaseTableModel.getLeaseAt(int row)
Fetches the DPRPLease object that backs a given row. |
Methods in edu.uiuc.cs.net.DPRPManager with parameters of type DPRPLease | |
boolean |
ServerPortMgr.checkPort(DPRPLease lea)
Checks to see if the external port in a given lease is okay. |
boolean |
ServerPortMgr.checkDuration(DPRPLease lea)
Checks to see that the specified duration is in-range, with respect to client restrictions. |
boolean |
ServerPortMgr.checkRetries(DPRPLease lea)
Examines the number of times a lease has been renewed. |
int |
ServerPortMgr.getMaxAllowedDuration(DPRPLease lea)
Returns the maximum allowed duration for a given client. |
void |
ServerPortMgr.addReservation(DPRPLease lea,
boolean wf)
Adds a lease to the Map, and optionally synchronizes the Map with disk. |
void |
ServerPortMgr.delReservation(DPRPLease lea,
boolean wf)
Deletes a reservation (nee Lease) from the Map. |
void |
ServerPortMgr.updateReservation(DPRPLease lea)
Updates the object stored at the primary key with a new lease object. |
void |
DPRPClient.addLease(DPRPLease lea)
Add a lease to the internal vector-o-leases. |
void |
DPRPClient.rmLease(DPRPLease lea,
DPRPLeaseEvent ev)
Remove a lease from the internal vector-o-leases. |
void |
DPRPClient.updateLease(DPRPLease curLea,
DPRPLease newLea)
Update a lease in the internal vector-o-leases. |
protected void |
DPRPClient.fireReceiveLease(DPRPLease lea,
char reason)
Deprecated. This is only for backwards compatibility. |
void |
DPRPLeaseEvent.setLease(DPRPLease l)
Attaches a lease to this event. |
private DPRPLease |
DPRPClientSession.renewLease(DPRPLease lea)
Attempts to renew an outstanding lease. |
private DPRPLease |
DPRPClientSession.terminateLease(DPRPLease lea)
Sends a CLI_TERMINATE_LEASE message, immediately
revoking the given lease. |
boolean |
DPRPLease.equals(DPRPLease cmp)
Localized method for determining the equality of two leases. |
private java.lang.Object |
DPRPLeaseTableModel.getTableData(DPRPLease lea,
int column)
Returns the data, in the appropriate format, for the given column in the given lease. |
private void |
DPRPServerSession.sendRenewNack(DPRPLease lea,
short reason)
Constructs and transmits a valid DPRP_SRV_RENEW_NACK packet. |
Constructors in edu.uiuc.cs.net.DPRPManager with parameters of type DPRPLease | |
DPRPClient(DPRPLease il)
Creates a new DPRPClient object from a pre-existing lease. |
|
DPRPLeaseEvent(java.lang.Object so,
DPRPLease lea,
char reason)
Creates a new DPRPLeaseEvent object, for notifying the controller of a "lease change event". |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |