|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jlab.coda.et.Station
This class defines a station for the ET system user.
| Field Summary | |
(package private) int |
id
Unique id number. |
(package private) java.lang.String |
name
Name of the station. |
(package private) SystemUse |
sys
User's ET system object. |
(package private) boolean |
usable
Flag telling whether this station object is usable or the station it represents has been removed. |
| Constructor Summary | |
(package private) |
Station(java.lang.String _name,
int _id,
SystemUse _sys)
Creates a station object. |
| Method Summary | |
int |
getBlockMode()
Gets the station configuration's block mode. |
int |
getCue()
Gets the station configuration's cue. |
int |
getId()
Gets the station id. |
int |
getInputCount()
Gets the number of events in the station's input list. |
java.lang.String |
getName()
Gets the station name. |
int |
getNumAttachments()
Gets the station's number of attachments. |
int |
getOutputCount()
Gets the number of events in the station's output list. |
int |
getPrescale()
Gets the station configuration's prescale. |
int |
getRestoreMode()
Gets the station configuration's restore mode. |
java.lang.String |
getSelectClass()
Gets the name of the class containing the station's user-defined select method. |
java.lang.String |
getSelectFunction()
Gets the name of the station's user-defined select function. |
java.lang.String |
getSelectLibrary()
Gets the name of the library containing the station's user-defined select function. |
int |
getSelectMode()
Gets the station configuration's select mode. |
int[] |
getSelectWords()
Gets the station's select array - used for filtering events. |
int |
getStatus()
Gets the station's status. |
int |
getUserMode()
Gets the station configuration's user mode. |
void |
setBlockMode(int mode)
Sets the station's block mode dynamically. |
void |
setCue(int cue)
Sets the station's cue size dynamically. |
void |
setPrescale(int prescale)
Sets the station's prescale dynamically. |
void |
setRestoreMode(int mode)
Sets the station's restore mode dynamically. |
void |
setSelectWords(int[] select)
Sets the station's select array - used for filtering events. |
void |
setUserMode(int mode)
Sets the station's user mode dynamically. |
boolean |
usable()
Tells if this station object is usable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int id
boolean usable
java.lang.String name
SystemUse sys
| Constructor Detail |
Station(java.lang.String _name,
int _id,
SystemUse _sys)
_name - station name_id - station id number_sys - user's ET system object| Method Detail |
public java.lang.String getName()
public int getId()
public boolean usable()
true if station object is usable and false
otherwise
public int[] getSelectWords()
throws java.io.IOException,
EtException
EtException - if the station has been removed or cannot be found
java.io.IOExceptionStationConfig.select
public void setSelectWords(int[] select)
throws java.io.IOException,
EtException
select - array of select integers
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed or cannot be found,
if wrong size array, or if the station is GRAND_CENTRALStationConfig.select
public java.lang.String getSelectLibrary()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.selectLibrary
public java.lang.String getSelectFunction()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.selectFunction
public java.lang.String getSelectClass()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.selectClass
public int getNumAttachments()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed
public int getStatus()
throws java.io.IOException,
EtException
Constants.stationUnused, Constants.stationCreating,
Constants.stationIdle, and Constants.stationActive.
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed
public int getInputCount()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed
public int getOutputCount()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed
public int getBlockMode()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.blockMode
public void setBlockMode(int mode)
throws java.io.IOException,
EtException
mode - block mode value
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed, bad mode value, or
the station is GRAND_CENTRALStationConfig.blockMode
public int getUserMode()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.userMode
public void setUserMode(int mode)
throws java.io.IOException,
EtException
mode - user mode value
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed, bad mode value, or
the station is GRAND_CENTRALStationConfig.userMode
public int getRestoreMode()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.restoreMode
public void setRestoreMode(int mode)
throws java.io.IOException,
EtException
mode - restore mode value
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed, bad mode value, or
the station is GRAND_CENTRALStationConfig.restoreMode
public int getSelectMode()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.selectMode
public int getCue()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.cue
public void setCue(int cue)
throws java.io.IOException,
EtException
cue - cue value
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed, bad cue value, or
the station is GRAND_CENTRALStationConfig.cue
public int getPrescale()
throws java.io.IOException,
EtException
java.io.IOException - if there are problems with network communication
EtException - if the station has been removedStationConfig.prescale
public void setPrescale(int prescale)
throws java.io.IOException,
EtException
prescale - prescale value
java.io.IOException - if there are problems with network communication
EtException - if the station has been removed, bad prescale value, or
the station is GRAND_CENTRALStationConfig.prescale
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||