CSP for Java
(JCSP) 1.1-rc4

org.jcsp.net.settings
Class Address

java.lang.Object
  extended by org.jcsp.net.settings.Address

public class Address
extends Object

Used internally within the JCSP network infrastructure to represent a single address.

Author:
Quickstone Technologies Limited

Constructor Summary
Address(String protocolID, String value, boolean unique)
           
 
Method Summary
 void addSpec(Spec spec)
           
 boolean equals(Object o)
           
 String getProtocolID()
           
 Spec[] getSpecs()
           
 String getValue()
           
 boolean isUnique()
           
 void removeSpec(Spec spec)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address(String protocolID,
               String value,
               boolean unique)
Method Detail

getProtocolID

public String getProtocolID()

getValue

public String getValue()

addSpec

public void addSpec(Spec spec)

removeSpec

public void removeSpec(Spec spec)

getSpecs

public Spec[] getSpecs()

isUnique

public boolean isUnique()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

CSP for Java
(JCSP) 1.1-rc4

Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.