Serialized Form
Package com.sun.jini.lease |
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
serialFormat
int serialFormat
- Serialization format for the expiration.
map
java.util.Map map
- Map from Lease to Long(duration), where all leases have the same
destination.
ex
java.lang.Exception ex
- The exception that caused the failure, if any.
expiration
long expiration
- The desired expiration of the failed lease.
lease
Lease lease
- The failed lease.
Package com.sun.jini.lease.landlord |
denied
java.lang.Exception[] denied
- The
i
th -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
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.
landlord
Landlord landlord
- The landlord which this map will talk to.
Package com.sun.jini.lookup.entry |
type
java.lang.String type
- The type of service.
Package net.jini.core.discovery |
host
java.lang.String host
- The name of the host at which to perform discovery.
port
int port
- The port number on the host at which to perform discovery.
Package net.jini.core.entry |
nestedExceptions
java.lang.Throwable[] nestedExceptions
- The exception that caused the failure for the corresponding
field named in unusableFields. If the entry was entirely
unusable,
nestedExceptions
will be an array with
the one exception that prevented its use.
partialEntry
Entry partialEntry
- The partial entry. Fields that could not be deserialized
will be
null
.
unusableFields
java.lang.String[] unusableFields
- The names of the unusable fields. If the entry was entirely
unusable,
unusableFields
will be null
.
Package net.jini.core.event |
eventID
long eventID
- The event identifier.
lease
Lease lease
- The registration lease.
seqNum
long seqNum
- The current sequence number.
source
java.lang.Object source
- The event source.
readObject
private void readObject(java.io.ObjectInputStream stream)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Serialization support
eventID
long eventID
- The event identifier.
handback
java.rmi.MarshalledObject handback
- The handback object.
seqNum
long seqNum
- The event sequence number.
source
java.lang.Object source
- The event source.
Package net.jini.core.lease |
exceptionMap
java.util.Map exceptionMap
- A Map from Lease to Exception, containing each lease that failed to
renew or cancel, and the exception that resulted from that lease's
renewal or cancel attempt.
Package net.jini.core.lookup |
serviceID
ServiceID serviceID
- ServiceID of the item that triggered the event.
transition
int transition
- One of ServiceRegistrar.TRANSITION_*MATCH_*MATCH
leastSig
long leastSig
- The least significant 64 bits.
mostSig
long mostSig
- The most significant 64 bits.
attributeSets
Entry[] attributeSets
- Attribute sets
service
java.lang.Object service
- A service object
serviceID
ServiceID serviceID
- A service ID, or null if registering for the first time
items
ServiceItem[] items
- Matching items (up to maxMatches from lookup method)
totalMatches
int totalMatches
- Total number of matching items
attributeSetTemplates
Entry[] attributeSetTemplates
- Attribute set templates to match, or null
serviceID
ServiceID serviceID
- Service ID to match, or null
serviceTypes
java.lang.Class[] serviceTypes
- Service types to match, or null
Package net.jini.core.transaction |
lease
Lease lease
- The lease.
transaction
NestableTransaction transaction
- The transaction.
committed
boolean committed
- True if the transaction committed before the timeout.
lease
Lease lease
- The lease.
transaction
Transaction transaction
- The transaction.
Package net.jini.core.transaction.server |
parent
NestableServerTransaction parent
- The parent transaction, if any.
id
long id
- The transaction id.
mgr
TransactionManager mgr
- The transaction manager.
id
long id
- The transaction id.
lease
Lease lease
- The lease.
Package net.jini.discovery |
regs
ServiceRegistrar[] regs
- The registrars with which this event is associated.
Package net.jini.lookup.entry |
country
java.lang.String country
- Country name.
locality
java.lang.String locality
- City or locality name. For example, "Palo Alto".
organization
java.lang.String organization
- Name of the company or organization that provides this service.
For example, "Sun Microsystems".
organizationalUnit
java.lang.String organizationalUnit
- The unit within the organization that provides this service.
For example, "Information Services".
postalCode
java.lang.String postalCode
- Postal code. For example, in the United States, this is a ZIP
code; in Ireland, it might be either empty or a postal district
of Dublin.
stateOrProvince
java.lang.String stateOrProvince
- Full name or standard postal abbreviation of a state or
province. For example, "CA" (for California).
street
java.lang.String street
- Street address. For example, "901 San Antonio Road".
assoc
Address assoc
- The Address object associated with this JavaBeans component.
comment
java.lang.String comment
- The comment itself.
assoc
Comment assoc
- The Entry object associated with this JavaBeans component.
building
java.lang.String building
- A building name or code. For example, "SUN04".
floor
java.lang.String floor
- A floor designation. For example, "2".
room
java.lang.String room
- A room or cube number. For example, "B250".
assoc
Location assoc
- The Location object associated with this JavaBeans component.
name
java.lang.String name
- The name itself.
assoc
Name assoc
- The Name object associated with this JavaBeans component.
manufacturer
java.lang.String manufacturer
- The name of the manufacturer or author of this service. For
example, "Sun Microsystems".
model
java.lang.String model
- The model name or number of this service, if any.
name
java.lang.String name
- The name of the product or package of which this service is an
instance. This field should not include the name of the
manufacturer or vendor.
serialNumber
java.lang.String serialNumber
- The serial number of this instance of the service, if any.
vendor
java.lang.String vendor
- The name of the vendor of this service. This may have the same
value as the manufacturer field, or it may be different.
version
java.lang.String version
- The version of this service. This is a free-form field, but
should follow accepted version-naming conventions to make
visual identification easier.
assoc
ServiceInfo assoc
- The ServiceInfo object associated with this JavaBeans component.
severity
StatusType severity
- The severity level of this status object.
assoc
Status assoc
- The Status object associated with this JavaBeans component.
type
int type
nestedException
java.lang.Throwable nestedException
- The exception (if any) that trigged the internal exception. This
may be
null
.
Copyright © 1999 Sun Microsystems, Inc. All rights reserved