|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jlab.coda.et.Attachment
This class defines an ET system user's attachment to a station.
Attachments can only be created by an ET system's
SystemUse.attach(org.jlab.coda.et.Station) method. Attachments are means of designating the
ownership of events and keeping track of events.
| Field Summary | |
(package private) int |
id
Unique id number |
(package private) Station |
station
Station the attachment is associated with |
(package private) SystemUse |
sys
ET system the attachment is associated with |
(package private) boolean |
usable
Flag telling whether this attachment object is usable or the attachment it represents has been detached. |
| Constructor Summary | |
(package private) |
Attachment(Station _station,
int _id,
SystemUse _sys)
Creates an attachment to a specific ET system and station. |
| Method Summary | |
long |
getEventsDump()
Gets the number of events dumped (recycled by returning to GRAND_CENTRAL station) through the attachment |
long |
getEventsGet()
Gets the number of events gotten from the ET system by the attachment |
long |
getEventsMake()
Gets the number of new events gotten from the ET system by the attachment |
long |
getEventsPut()
Gets the number of events put into the ET system by the attachment |
int |
getId()
Gets the id number of this attachment. |
Station |
getStation()
Gets the object of the station attached to. |
boolean |
usable()
Tells if this attachment 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
Station station
boolean usable
SystemUse sys
| Constructor Detail |
Attachment(Station _station,
int _id,
SystemUse _sys)
SystemUse.attach(org.jlab.coda.et.Station) method.
_station - station object_id - unique attachment id number_sys - ET system object| Method Detail |
public Station getStation()
public int getId()
public boolean usable()
true if attachment object is usable and false
otherwise
public long getEventsPut()
throws java.io.IOException,
EtException
java.io.IOException
EtException
public long getEventsGet()
throws java.io.IOException,
EtException
java.io.IOException
EtException
public long getEventsDump()
throws java.io.IOException,
EtException
java.io.IOException
EtException
public long getEventsMake()
throws java.io.IOException,
EtException
java.io.IOException
EtException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||