public class TucsonTupleCentreId extends java.lang.Object implements TupleCentreId, java.io.Serializable
Constructor and Description |
---|
TucsonTupleCentreId(java.lang.String id) |
TucsonTupleCentreId(java.lang.String tcName,
java.lang.String netid,
java.lang.String portno) |
TucsonTupleCentreId(TupleCentreId id) |
Modifier and Type | Method and Description |
---|---|
TupleCentreId |
getInternalTupleCentreId() |
java.lang.String |
getName() |
java.lang.String |
getNode() |
int |
getPort() |
boolean |
isAgent() |
boolean |
isEnv() |
boolean |
isTC() |
java.lang.String |
toString() |
alice.tuprolog.Term |
toTerm() |
public TucsonTupleCentreId(java.lang.String id) throws TucsonInvalidTupleCentreIdException
id
- the String representation of a valid TuCSoN tuple centre
identifierTucsonInvalidTupleCentreIdException
- if the given String does not represent a valid TuCSoN
identifierpublic TucsonTupleCentreId(java.lang.String tcName, java.lang.String netid, java.lang.String portno) throws TucsonInvalidTupleCentreIdException
tcName
- the String representation of a valid tuple centre namenetid
- the String representation of a valid IP addressportno
- the String representation of a valid port numberTucsonInvalidTupleCentreIdException
- if the combination of the given Strings does not represent a
valid TuCSoN identifierpublic TucsonTupleCentreId(TupleCentreId id)
id
- the String representation of a valid TuCSoN tuple centre
identifierpublic TupleCentreId getInternalTupleCentreId()
public java.lang.String getName()
public java.lang.String getNode()
public int getPort()
public boolean isAgent()
public boolean isEnv()
public boolean isTC()
public java.lang.String toString()
toString
in class java.lang.Object
public alice.tuprolog.Term toTerm()