|
||||||||||
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(Locale pLocale)
Ctor. |
Method Summary | |
---|---|
void |
addAttributes(ServiceURL pURL,
Vector<ServiceLocationAttribute> pAttributes)
Update the registration by adding the given attributes. |
void |
deleteAttributes(ServiceURL pURL,
Vector<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. |
Locale |
getLocale()
Return the language locale with which this object was created. |
void |
register(ServiceURL pURL,
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(Locale pLocale)
pLocale
- Method Detail |
---|
public void addAttributes(ServiceURL pURL, Vector<ServiceLocationAttribute> pAttributes) throws ServiceLocationException
Advertiser
addAttributes
in interface Advertiser
pURL
- pAttributes
-
ServiceLocationException
public void deleteAttributes(ServiceURL pURL, Vector<String> pAttributeIds) throws ServiceLocationException
Advertiser
deleteAttributes
in interface Advertiser
pURL
- pAttributeIds
-
ServiceLocationException
public void deregister(ServiceURL pURL) throws ServiceLocationException
Advertiser
deregister
in interface Advertiser
pURL
- The URL for the service.
ServiceLocationException
public Locale getLocale()
Advertiser
getLocale
in interface Advertiser
public void register(ServiceURL pURL, Vector<ServiceLocationAttribute> pAttributes) throws ServiceLocationException
Advertiser
register
in interface Advertiser
pURL
- 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 |