org.sblim.slp.internal.msg

Class DADescriptor

public class DADescriptor extends Object implements Comparable<DADescriptor>

 This class contains the DA related information from a DAAdvert message.
 URL
 Scope list
 Attribute list
 
Constructor Summary
DADescriptor(String pURL, TreeSet<String> pScopeSet, List<ServiceLocationAttribute> pAttributes)
Ctor.
Method Summary
intcompareTo(DADescriptor o)
StringgetURL()
getURL
booleanhasScope(String pScope)
hasScope

Constructor Detail

DADescriptor

public DADescriptor(String pURL, TreeSet<String> pScopeSet, List<ServiceLocationAttribute> pAttributes)
Ctor.

Parameters: pURL pScopeSet - set of scope Strings pAttributes - set of ServiceLocationAttributes

Method Detail

compareTo

public int compareTo(DADescriptor o)

getURL

public String getURL()
getURL

Returns: String

hasScope

public boolean hasScope(String pScope)
hasScope

Parameters: pScope

Returns: boolean

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