listener
with a RemoteEvent
that includes the handback
object. Matching is done as for read
.
@param tmpl The template used for matching. Matching isdone against tmpl
with null
fields being wildcards ("match anything") other fields being values ("match exactly on the serialized form").
@param txn The transaction (if any) under which to work.
@param listener The remote event listener to notify.
@param lease the requested lease time, in milliseconds
@param handback An object to send to the listener as part of the event notification.
@return the event registration to the the registrant
@throws TransactionException if a transaction error occurs
@throws RemoteException if a communication error occurs
@throws IllegalArgumentException if the lease time requested is not Lease.ANY and is negative
@see #read
@see net.jini.core.event.EventRegistration
|
|
|
|
|
|
|
|
|
|
|
|