|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jlab.coda.et.StationData
This class holds all information about an station. It parses the information from a stream of data sent by an ET system.
| Field Summary | |
(package private) int |
attachments
Number of attachments to this station. |
(package private) int[] |
attIds
Array of attachment id numbers. |
(package private) int |
blockMode
Station configuration's blocking mode. |
(package private) int |
cue
Station configuration's input cue size. |
(package private) int |
flowMode
Station configuration's flow mode. |
(package private) int |
inListCount
Number of events in the input list. |
(package private) long |
inListIn
Number of events that were put into the input list. |
(package private) int |
inListMutex
Input list mutex status. |
(package private) long |
inListTry
Number of events that were attempted to be put into the input list. |
(package private) int |
mutex
Transfer mutex status. |
(package private) java.lang.String |
name
Name of station. |
(package private) int |
num
Station's id number. |
(package private) int |
outListCount
Number of events in the output list. |
(package private) int |
outListMutex
Output list mutex status. |
(package private) long |
outListOut
Number of events that were taken out of the output list. |
(package private) int |
prescale
Station configuration's prescale value. |
(package private) int |
restoreMode
Station configuration's restore mode. |
(package private) int[] |
select
Station configuration's select array. |
(package private) java.lang.String |
selectClass
Name of Java class containing user select method in Java version ET system. |
(package private) java.lang.String |
selectFunction
Name of user select function in C version ET library. |
(package private) java.lang.String |
selectLibrary
Name of C library containing user select function in C version ET system. |
(package private) int |
selectMode
Station configuration's select mode. |
(package private) int |
status
Station's status. |
(package private) int |
userMode
Station configuration's user mode. |
| Constructor Summary | |
StationData()
|
|
| Method Summary | |
int[] |
getAttachmentIds()
Get the array of attachment id numbers. |
int |
getAttachments()
Get the number of attachments to this station. |
int |
getBlockMode()
Get the station configuration's blocking mode. |
int |
getCue()
Get the station configuration's input cue size. |
int |
getFlowMode()
Get the station configuration's flow mode. |
int |
getId()
Get the station's id number. |
int |
getInListCount()
Get the number of events in the input list. |
long |
getInListIn()
Get the number of events that were put into the input list. |
int |
getInListMutex()
Get the input list mutex status. |
long |
getInListTry()
Get the number of events that were attempted to be put into the input list. |
int |
getMutex()
Get the transfer mutex status. |
java.lang.String |
getName()
Get the name of the station. |
int |
getOutListCount()
Get the number of events in the output list. |
int |
getOutListMutex()
Get the output list mutex status. |
long |
getOutListOut()
Get the number of events that were taken out of the output list. |
int |
getPrescale()
Get the station configuration's prescale value. |
int |
getRestoreMode()
Get the station configuration's restore mode. |
int[] |
getSelect()
Get the station configuration's select array. |
java.lang.String |
getSelectClass()
Get the name of the Java class containing the user select method in the Java version ET system. |
java.lang.String |
getSelectFunction()
Get the name of the user select function in the C version ET library. |
java.lang.String |
getSelectLibrary()
Get the name of the C library containing the user select function in the C version ET system. |
int |
getSelectMode()
Get the station configuration's select mode. |
int |
getStatus()
Get the station's status. |
int |
getUserMode()
Get the station configuration's user mode. |
(package private) void |
read(java.io.DataInputStream dis)
Reads the station information from a data stream which is sent out by an ET system over the network. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int num
Station.id,
StationLocal.idint status
Constants.stationUnused,
Constants.stationIdle, or Constants.stationActive.
StationLocal.statusint mutex
Constants.mutexLocked if
locked and Constants.mutexUnlocked otherwise. This is only
relevant in C ET systems, since in Java, mutexes cannot be tested without
possibility of blocking. This is not boolean for C ET system compatibility.
StationLocal#stopTransferint attachments
StationLocal.attachmentsint[] attIds
StationLocal.attachmentsint inListMutex
Constants.mutexLocked if
locked and Constants.mutexUnlocked otherwise. This is only relevant
in C ET systems, since in Java, mutexes cannot be tested without the
chance of blocking. This is not boolean for C ET system compatibility.
int inListCount
EventList.eventslong inListTry
EventList.eventsTrylong inListIn
EventList.eventsInint outListMutex
Constants.mutexLocked if
locked and Constants.mutexUnlocked otherwise. This is only relevant
in C ET systems, since in Java, mutexes cannot be tested without the
chance of blocking. This is not boolean for C ET system compatibility.
int outListCount
EventList.eventslong outListOut
EventList.eventsOutint flowMode
StationConfig.userModeint userMode
StationConfig.userModeint restoreMode
StationConfig.restoreModeint blockMode
StationConfig.blockModeint prescale
StationConfig.prescaleint cue
StationConfig.cueint selectMode
StationConfig.selectModeint[] select
StationConfig.selectjava.lang.String selectFunction
StationConfig.selectFunctionjava.lang.String selectLibrary
StationConfig.selectLibraryjava.lang.String selectClass
StationConfig.selectClassjava.lang.String name
Station.name,
StationLocal.name| Constructor Detail |
public StationData()
| Method Detail |
public int getId()
Station.id,
StationLocal.idpublic int getStatus()
Constants.stationUnused,
Constants.stationIdle, or Constants.stationActive.
StationLocal.statuspublic int getMutex()
Constants.mutexLocked
if locked and Constants.mutexUnlocked otherwise. This is only
relevant in C ET systems.
public int getAttachments()
StationLocal.attachmentspublic int[] getAttachmentIds()
StationLocal.attachmentspublic int getInListMutex()
Constants.mutexLocked
if locked and Constants.mutexUnlocked otherwise. This is only relevant
in C ET systems.
public int getInListCount()
EventList.eventspublic long getInListTry()
EventList.eventsTrypublic long getInListIn()
EventList.eventsInpublic int getOutListMutex()
Constants.mutexLocked
if locked and Constants.mutexUnlocked otherwise. This is only relevant
in C ET systems.
public int getOutListCount()
EventList.eventspublic long getOutListOut()
EventList.eventsOutpublic int getFlowMode()
StationConfig.flowModepublic int getUserMode()
StationConfig.userModepublic int getRestoreMode()
StationConfig.restoreModepublic int getBlockMode()
StationConfig.blockModepublic int getPrescale()
StationConfig.prescalepublic int getCue()
StationConfig.cuepublic int getSelectMode()
StationConfig.selectModepublic int[] getSelect()
StationConfig.selectpublic java.lang.String getSelectFunction()
StationConfig.selectFunctionpublic java.lang.String getSelectLibrary()
StationConfig.selectLibrarypublic java.lang.String getSelectClass()
StationConfig.selectClasspublic java.lang.String getName()
Station.name,
StationLocal.name
void read(java.io.DataInputStream dis)
throws java.io.IOException
dis - data input stream
java.io.IOException - if data stream read error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||