Advertiser
public class AdvertiserImpl extends java.lang.Object implements Advertiser
Constructor | Description |
---|---|
AdvertiserImpl(java.util.Locale pLocale) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public AdvertiserImpl(java.util.Locale pLocale)
pLocale
- public void addAttributes(ServiceURL pURL, java.util.Vector<ServiceLocationAttribute> pAttributes) throws ServiceLocationException
Advertiser
addAttributes
in interface Advertiser
pURL
- pAttributes
- ServiceLocationException
public void deleteAttributes(ServiceURL pURL, java.util.Vector<java.lang.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 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 Advertiser
pURL
- The URL for the service.pAttributes
- A vector of ServiceLocationAttribute objects describing the
service.ServiceLocationException
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.