org.sblim.slp.internal.msg

Class DADescriptor

Implemented Interfaces:
Comparable

public class DADescriptor
extends java.lang.Object
implements Comparable

 This class contains the DA related information from a DAAdvert message.
 URL
 Scope list
 Attribute list
 

Constructor Summary

DADescriptor(String pURL, TreeSet pScopeSet, List pAttributes)
Ctor.

Method Summary

int
compareTo(Object o)
String
getURL()
getURL
boolean
hasScope(String pScope)
hasScope
int
hashCode()
String
toString()

Constructor Details

DADescriptor

public DADescriptor(String pURL,
                    TreeSet pScopeSet,
                    List pAttributes)
Ctor.
Parameters:
pURL -
pScopeSet - - set of scope Strings
pAttributes - - set of ServiceLocationAttributes

Method Details

compareTo

public int compareTo(Object o)

getURL

public String getURL()
getURL
Returns:
String

hasScope

public boolean hasScope(String pScope)
hasScope
Parameters:
pScope -
Returns:
boolean

hashCode

public int hashCode()

toString

public String toString()

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