CSP for Java
(JCSP) 1.1-rc4

org.jcsp.net.settings
Class Reliable

java.lang.Object
  extended by org.jcsp.net.settings.Spec
      extended by org.jcsp.net.settings.Reliable
All Implemented Interfaces:
Req, XMLConfigConstants

public class Reliable
extends Spec
implements Req

Used internally within the JCSP network infrastructure to represent a reliable protocol.

Author:
Quickstone Technologies Limited

Field Summary
 
Fields inherited from interface org.jcsp.net.settings.XMLConfigConstants
DATA_TYPE_INDICATOR_BOOLEAN, DATA_TYPE_INDICATOR_DOUBLE, DATA_TYPE_INDICATOR_INT, DATA_TYPE_INDICATOR_STRING, ELEMENT_ADDRESS, ELEMENT_ADDRESS_SETTING, ELEMENT_ADDRESSES, ELEMENT_CONNECTION_ORIENTED, ELEMENT_LINK_PROFILE, ELEMENT_LINK_PROFILES, ELEMENT_LINK_REQ_MAXPING, ELEMENT_LINK_REQ_MINSPEED, ELEMENT_LINK_REQ_OTHER, ELEMENT_LINK_REQ_PROTOCOL, ELEMENT_LINK_REQS, ELEMENT_MAXSPEED, ELEMENT_MEMORY, ELEMENT_NODE_PROFILE, ELEMENT_NODE_PROFILES, ELEMENT_NODE_REQ_MINMEMORY, ELEMENT_NODE_REQ_MINSPEED, ELEMENT_NODE_REQ_OTHER, ELEMENT_NODE_REQS, ELEMENT_NODE_SPECS, ELEMENT_OTHERSPEC, ELEMENT_PLUGIN, ELEMENT_PLUGINS, ELEMENT_PROTOCOL, ELEMENT_PROTOCOL_SETTING, ELEMENT_PROTOCOL_SETTINGS, ELEMENT_PROTOCOLS, ELEMENT_RELIABLE, ELEMENT_SERVICE, ELEMENT_SERVICES, ELEMENT_SETTING, ELEMENT_SETTINGS, ELEMENT_SPECS, ELEMENT_WIRELESS, REQ_COMPARATOR_EQUALS, REQ_COMPARATOR_GREATER, REQ_COMPARATOR_LESS, REQ_NAME_MAXPING, REQ_NAME_MINMEMORY, REQ_NAME_MINSPEED, REQ_NAME_PROTOCOL, RESERVED_SPEC_NAMES, SPEC_NAME_CONNECTION_ORIENTED, SPEC_NAME_MAXSPEED, SPEC_NAME_MEMORY, SPEC_NAME_PING, SPEC_NAME_PROTOCOL, SPEC_NAME_RELIABLE, SPEC_NAME_WIRELESS, XML_BOOLEAN_FALSE, XML_BOOLEAN_TRUE, XML_TRISTATE_CANBE, XML_TRISTATE_FALSE, XML_TRISTATE_TRUE
 
Method Summary
 boolean equals(Object o)
           
 boolean getBooleanValue()
           
 String getComparator()
           
 double getDoubleValue()
           
 int getIntValue()
           
 String getStringValue()
           
 Class getType()
           
 boolean getValue()
           
 int hashCode()
           
 
Methods inherited from class org.jcsp.net.settings.Spec
getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jcsp.net.settings.Req
getName
 

Method Detail

getStringValue

public String getStringValue()
Specified by:
getStringValue in interface Req
Specified by:
getStringValue in class Spec

getValue

public boolean getValue()

getType

public Class getType()
Specified by:
getType in interface Req

getComparator

public String getComparator()
Specified by:
getComparator in interface Req

getIntValue

public int getIntValue()
Specified by:
getIntValue in interface Req

getDoubleValue

public double getDoubleValue()
Specified by:
getDoubleValue in interface Req

getBooleanValue

public boolean getBooleanValue()
Specified by:
getBooleanValue in interface Req

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Spec

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.