Package org.jcsp.net.settings
Class LinkProfiles
- java.lang.Object
-
- org.jcsp.net.settings.LinkProfiles
-
public class LinkProfiles extends java.lang.ObjectUsed internally within the JCSP network infrastructure to represent a set of link profiles.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classLinkProfiles.LinkProfileAlreadyExistsException
-
Field Summary
Fields Modifier and Type Field Description private LinkProfilelastProfileprivate java.util.HashtableprofileNameMapprivate java.util.Hashtableprofiles
-
Constructor Summary
Constructors Constructor Description LinkProfiles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProfile(LinkProfile p)LinkProfilegetLastProfile()LinkProfilegetProfile(java.lang.String name)LinkProfile[]getProfiles()voidremoveProfile(LinkProfile p)java.lang.StringtoString()
-
-
-
Field Detail
-
profiles
private java.util.Hashtable profiles
-
profileNameMap
private java.util.Hashtable profileNameMap
-
lastProfile
private LinkProfile lastProfile
-
-
Method Detail
-
addProfile
public void addProfile(LinkProfile p)
-
removeProfile
public void removeProfile(LinkProfile p)
-
getProfile
public LinkProfile getProfile(java.lang.String name)
-
getProfiles
public LinkProfile[] getProfiles()
-
getLastProfile
public LinkProfile getLastProfile()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-