|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.slp.internal.AdvertiserImpl
public class AdvertiserImpl
AdvertiserImpl
| Constructor Summary | |
|---|---|
AdvertiserImpl(java.util.Locale pLocale)
Ctor. |
|
| Method Summary | |
|---|---|
void |
addAttributes(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes)
Update the registration by adding the given attributes. |
void |
deleteAttributes(ServiceURL pURL,
java.util.Vector<java.lang.String> pAttributeIds)
Delete the attributes from a URL for the locale with which the Advertiser was created. |
void |
deregister(ServiceURL pURL)
Deregister a service from the SLP framework. |
java.util.Locale |
getLocale()
Return the language locale with which this object was created. |
void |
register(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes)
Register a new service with SLP having the given attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdvertiserImpl(java.util.Locale pLocale)
pLocale - | Method Detail |
|---|
public void addAttributes(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes)
throws ServiceLocationException
Advertiser
addAttributes in interface AdvertiserpURL - pAttributes -
ServiceLocationException
public void deleteAttributes(ServiceURL pURL,
java.util.Vector<java.lang.String> pAttributeIds)
throws ServiceLocationException
Advertiser
deleteAttributes in interface AdvertiserpURL - pAttributeIds -
ServiceLocationException
public void deregister(ServiceURL pURL)
throws ServiceLocationException
Advertiser
deregister in interface AdvertiserpURL - The URL for the service.
ServiceLocationExceptionpublic java.util.Locale getLocale()
Advertiser
getLocale in interface Advertiser
public void register(ServiceURL pURL,
java.util.Vector<ServiceLocationAttribute> pAttributes)
throws ServiceLocationException
Advertiser
register in interface AdvertiserpURL - The URL for the service.pAttributes - A vector of ServiceLocationAttribute objects describing the
service.
ServiceLocationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||