public class EtAttachment
extends java.lang.Object
EtSystem.attach(EtStation)
method. Attachments are means of designating the
ownership of events and keeping track of events.Modifier and Type | Method and Description |
---|---|
long |
getEventsDump()
Gets the number of events dumped (recycled by returning to GRAND_CENTRAL
station) through this attachment.
|
long |
getEventsGet()
Gets the number of events gotten from the ET system by this attachment.
|
long |
getEventsMake()
Gets the number of new events gotten from the ET system by this attachment.
|
long |
getEventsPut()
Gets the number of events put into the ET system by this attachment.
|
int |
getId()
Gets the id number of this attachment.
|
EtStation |
getStation()
Gets the object of the station attached to.
|
EtSystem |
getSys()
Sets the EtSystemUse object for using the ET system.
|
boolean |
isUsable()
Tells if this attachment object is usable.
|
public EtStation getStation()
public int getId()
public boolean isUsable()
true
if attachment object is usable and false
otherwisepublic EtSystem getSys()
public long getEventsPut() throws java.io.IOException, org.jlab.coda.et.exception.EtException
java.io.IOException
org.jlab.coda.et.exception.EtException
public long getEventsGet() throws java.io.IOException, org.jlab.coda.et.exception.EtException
java.io.IOException
org.jlab.coda.et.exception.EtException
public long getEventsDump() throws java.io.IOException, org.jlab.coda.et.exception.EtException
java.io.IOException
org.jlab.coda.et.exception.EtException
public long getEventsMake() throws java.io.IOException, org.jlab.coda.et.exception.EtException
java.io.IOException
org.jlab.coda.et.exception.EtException