org.sblim.slp.internal.sa

Class ServiceTable

public class ServiceTable extends Object

ServiceTable
Constructor Summary
ServiceTable(DatagramThread pDgramThread)
Ctor.
Method Summary
voidadd(ServiceURL pSrvURL, List<ServiceLocationAttribute> pAttrList, List<String> pScopes)
add
List<ServiceLocationAttribute>getAttributes(ServiceURL pSrvURL, List<String> pScopes)
getAttributes
List<ServiceLocationAttribute>getAttributes(ServiceType pSrvType, List<String> pScopes)
getAttributes
List<ServiceType>getServiceTypes(List<String> pScopes)
getServiceTypes
List<ServiceURL>getServiceURLs(ServiceType pSrvType, List<String> pScopes)
getServiceURLs
voidremove(ServiceURL pSrvURL)
remove

Constructor Detail

ServiceTable

public ServiceTable(DatagramThread pDgramThread)
Ctor.

Parameters: pDgramThread

Method Detail

add

public void add(ServiceURL pSrvURL, List<ServiceLocationAttribute> pAttrList, List<String> pScopes)
add

Parameters: pSrvURL pAttrList pScopes

Throws: UnknownHostException IOException

getAttributes

public List<ServiceLocationAttribute> getAttributes(ServiceURL pSrvURL, List<String> pScopes)
getAttributes

Parameters: pSrvURL pScopes

Returns: List ServiceLocationAttribute

getAttributes

public List<ServiceLocationAttribute> getAttributes(ServiceType pSrvType, List<String> pScopes)
getAttributes

Parameters: pSrvType pScopes

Returns: List ServiceLocationAttribute

getServiceTypes

public List<ServiceType> getServiceTypes(List<String> pScopes)
getServiceTypes

Parameters: pScopes

Returns: List ServiceType

getServiceURLs

public List<ServiceURL> getServiceURLs(ServiceType pSrvType, List<String> pScopes)
getServiceURLs

Parameters: pSrvType pScopes

Returns: List ServiceURL

remove

public void remove(ServiceURL pSrvURL)
remove

Parameters: pSrvURL

Throws: UnknownHostException IOException

Copyright © 2005, 2010 IBM Corporation. All Rights Reserved.