public interface CODAComponent extends CommandAcceptor
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
configuration()
Get the configuration of this CODA component in the form of
a parsed XML document object that is loaded from a file when
the configure command is executed.
|
java.lang.String |
getCmsgUDL()
Get the UDL used to connect to the cMsg server by this CODA component.
|
CODAClass |
getCodaClass()
Get the class of this CODA component (e.g.
|
int |
getCodaid()
Get the id of this CODA component.
|
java.lang.String |
getExpid()
Get the experiment id (expid) of this CODA component.
|
java.lang.String |
getHostName()
Get the name of the host this CODA component is running on.
|
int |
getRunNumber()
Get the run number of this CODA component.
|
java.lang.String |
getRunType()
Get the runType of this CODA component.
|
int |
getRunTypeId()
Get the numeric code representing the run type of this CODA component.
|
java.lang.String |
getSession()
Get the session of this CODA component.
|
java.lang.String |
name()
Get the name of this CODA component.
|
org.w3c.dom.Document |
parameters()
Get the configuration of this CODA component in the form of
a parsed XML document object that is loaded when the configure
command is executed.
|
void |
reset()
Reset this CODA component.
|
void |
setCodaid(int codaid)
Set the id of this CODA component.
|
void |
setRunNumber(int runNumber)
Set the run number of this CODA component.
|
void |
setRunType(java.lang.String runType)
Set the runType of this CODA component.
|
void |
setRunTypeId(int runTypeId)
Set the numeric code representing the run type of this CODA component.
|
postCommand
getError, state
org.w3c.dom.Document configuration()
org.w3c.dom.Document parameters()
java.lang.String name()
int getCodaid()
java.lang.String getSession()
java.lang.String getExpid()
java.lang.String getHostName()
CODAClass getCodaClass()
int getRunNumber()
int getRunTypeId()
java.lang.String getRunType()
java.lang.String getCmsgUDL()
void setRunNumber(int runNumber)
runNumber
- the run number of this CODA componentvoid setRunTypeId(int runTypeId)
runTypeId
- the numeric code representing the runType of this CODA componentvoid setRunType(java.lang.String runType)
runType
- the runType of this CODA componentvoid setCodaid(int codaid)
codaid
- the coda id of this CODA componentvoid reset()