com.solers.slp
Interface Advertiser

All Known Implementing Classes:
AdvertiserImpl

public interface Advertiser

The SLP Advertiser interface defined in RFC 2614.


Method Summary
 void addAttributes(ServiceURL URL, Vector attributes)
          This operation is not supported.
 void deleteAttributes(ServiceURL URL, Vector attributeIds)
          This operation is not supported.
 void deregister(ServiceURL URL)
          Deregisters a particular URL.
 Locale getLocale()
          Returns the current locale of this Advertiser.
 void register(ServiceURL URL, Vector attributes)
          Registers a ServiceURL with the slp daemon.
 

Method Detail

getLocale

public Locale getLocale()
Returns the current locale of this Advertiser.
Returns:
a Locale

register

public void register(ServiceURL URL,
                     Vector attributes)
              throws ServiceLocationException
Registers a ServiceURL with the slp daemon.
Parameters:
URL - the ServiceURL to register.
attributes - the attributes associated with this URL, or an empty Vector.
Throws:
ServiceLocationException -  

deregister

public void deregister(ServiceURL URL)
                throws ServiceLocationException
Deregisters a particular URL.
Parameters:
URL - the ServiceURL to deregister.
Throws:
ServiceLocationException -  

addAttributes

public void addAttributes(ServiceURL URL,
                          Vector attributes)
                   throws ServiceLocationException
This operation is not supported.
Throws:
ServiceLocationException - always.

deleteAttributes

public void deleteAttributes(ServiceURL URL,
                             Vector attributeIds)
                      throws ServiceLocationException
This operation is not supported.
Throws:
ServiceLocationException - always.