Class Protocol
java.lang.Object
org.jcsp.net.settings.Protocol
Used internally within the JCSP network infrastructure to represent a single protocol.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSetting(Setting setting) voidbooleangetName()intgetSetting(String name) Setting[]Spec[]getSpecs()inthashCode()voidremoveSetting(Setting setting) voidremoveSpec(Spec spec) toString()
-
Field Details
-
protocolID
-
protocolName
-
idClass
-
position
private int position -
specs
-
settings
-
-
Constructor Details
-
Protocol
-
-
Method Details
-
addSpec
-
removeSpec
-
getSpecs
-
addSetting
-
removeSetting
-
getSettings
-
getSetting
-
getProtocolID
-
getName
-
getIDClass
-
getPosition
public int getPosition() -
toString
-
equals
-
hashCode
-