jaugment2.jini
Class LocalLoockup.myServiceRegistration

java.lang.Object
  |
  +--jaugment2.jini.LocalLoockup.myServiceRegistration
Enclosing class:
LocalLoockup

private class LocalLoockup.myServiceRegistration
extends java.lang.Object
implements net.jini.core.lookup.ServiceRegistration


Field Summary
private  net.jini.core.lookup.ServiceItem item
           
private  net.jini.core.lease.Lease l
           
private  net.jini.core.lookup.ServiceID sid
           
 
Constructor Summary
LocalLoockup.myServiceRegistration(net.jini.core.lookup.ServiceItem item)
           
 
Method Summary
 void addAttributes(net.jini.core.entry.Entry[] attrSets)
           
 net.jini.core.lease.Lease getLease()
           
 net.jini.core.lookup.ServiceID getServiceID()
           
 void modifyAttributes(net.jini.core.entry.Entry[] attrSetTemplates, net.jini.core.entry.Entry[] attrSets)
           
 void setAttributes(net.jini.core.entry.Entry[] attrSets)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

sid

private net.jini.core.lookup.ServiceID sid

l

private net.jini.core.lease.Lease l

item

private net.jini.core.lookup.ServiceItem item
Constructor Detail

LocalLoockup.myServiceRegistration

public LocalLoockup.myServiceRegistration(net.jini.core.lookup.ServiceItem item)
Method Detail

getServiceID

public net.jini.core.lookup.ServiceID getServiceID()
Specified by:
getServiceID in interface net.jini.core.lookup.ServiceRegistration

getLease

public net.jini.core.lease.Lease getLease()
Specified by:
getLease in interface net.jini.core.lookup.ServiceRegistration

addAttributes

public void addAttributes(net.jini.core.entry.Entry[] attrSets)
                   throws net.jini.core.lease.UnknownLeaseException,
                          java.rmi.RemoteException
Specified by:
addAttributes in interface net.jini.core.lookup.ServiceRegistration

modifyAttributes

public void modifyAttributes(net.jini.core.entry.Entry[] attrSetTemplates,
                             net.jini.core.entry.Entry[] attrSets)
                      throws net.jini.core.lease.UnknownLeaseException,
                             java.rmi.RemoteException
Specified by:
modifyAttributes in interface net.jini.core.lookup.ServiceRegistration

setAttributes

public void setAttributes(net.jini.core.entry.Entry[] attrSets)
                   throws net.jini.core.lease.UnknownLeaseException,
                          java.rmi.RemoteException
Specified by:
setAttributes in interface net.jini.core.lookup.ServiceRegistration