Serialized Form


Package com.sun.jini.lease

Class com.sun.jini.lease.AbstractLease implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
If serialFormat is DURATION, add the current time to the expiration, to make it absolute (and if the result of the addition is negative, correct the overflow by resetting the expiration to Long.MAX_VALUE).

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
Serial Data:
a long, which is the absolute expiration if serialFormat is ABSOLUTE, or the relative duration if serialFormat is DURATION
Serialized Fields

serialFormat

int serialFormat
Serialization format for the expiration.

Class com.sun.jini.lease.AbstractLeaseMap implements Serializable

Serialized Fields

map

java.util.Map map
Map from Lease to Long(duration), where all leases have the same destination.

Class com.sun.jini.lease.LeaseRenewalEvent implements Serializable

Serialized Fields

ex

java.lang.Exception ex
The exception that caused the failure, if any.

expiration

long expiration
The desired expiration of the failed lease.

lease

net.jini.core.lease.Lease lease
The failed lease.


Package com.sun.jini.lease.landlord

Class com.sun.jini.lease.landlord.Landlord.RenewResults implements Serializable

Serialized Fields

denied

java.lang.Exception[] denied
The ith -1 in granted was denied because of denied[i]. If nothing was denied, this field is null.

granted

long[] granted
For each cookie passed to renewAll, granted[i] is the granted lease time, or -1 if the renewal for that least generated an exception. If there was an exception, the exception is held in denied.
See Also:
Landlord.RenewResults.denied

Class com.sun.jini.lease.landlord.LandlordLease implements Serializable

Serialized Fields

cookie

java.lang.Object cookie
Object passed to landlord when renewal and cancel calls are make on this lease. Should uniquely identify the lease.

landlord

Landlord landlord
Owner of the resource associated with this lease.

Class com.sun.jini.lease.landlord.LandlordLeaseMap implements Serializable

Serialized Fields

landlord

Landlord landlord
The landlord which this map will talk to.


Package com.sun.jini.lookup.entry

Class com.sun.jini.lookup.entry.BasicServiceType implements Serializable

Serialized Fields

type

java.lang.String type
The type of service.



Copyright © 1999 Sun Microsystems, Inc. All rights reserved