public class RealOnlineAttribute extends RealOnlineElement
dataInformation, value
Constructor and Description |
---|
RealOnlineAttribute(OnlineDataReceiverSet receiverSet,
RealAttributeDescription rad,
de.bsvrz.sys.funclib.losb.datk.ProtocolType protocolType,
boolean isShown)
Erzeugt das Objekt.
|
Modifier and Type | Method and Description |
---|---|
boolean |
executeTake(long timeout)
XXX COMMENT CHANGE
|
java.lang.String |
toString() |
abort, getReceiveOptions, hasNext, setReceiver, updateDataInformation
getDataInformation, getMostRecentDataIndex, getMostRecentTimeStamp, getUsedDataIndex, getUsedTimeStamp, getValue, isShown, isWinner, lost, reset, take, won
public RealOnlineAttribute(OnlineDataReceiverSet receiverSet, RealAttributeDescription rad, de.bsvrz.sys.funclib.losb.datk.ProtocolType protocolType, boolean isShown) throws de.bsvrz.sys.funclib.losb.exceptions.FailureException
RealOnlineElement.setReceiver(OnlineDataReceiver)
auf.receiverSet
- Objekt das die Anmeldung auf die DAV-Daten durchführt.rad
- AttributbeschreibungprotocolType
- ProtocolTypeisShown
- Wird das Element im Spalten-Bereich verwendet? true
Element wird im Spalten Bereich verwendet.de.bsvrz.sys.funclib.losb.exceptions.FailureException
- Fehler bei der Kommunikation mit der Konfiguration.public boolean executeTake(long timeout) throws de.bsvrz.sys.funclib.losb.exceptions.FailureException, java.lang.InterruptedException
RealOnlineElement
executeTake
in class RealOnlineElement
timeout
- Maximale Wartezeit. Wird die Wartezeit überschritten, so wird due Methode abgebrochen und false
zurückgegeben. Ist dieser
Parameter 0
so wird solange gewartet, bis Daten eintreffen.de.bsvrz.sys.funclib.losb.exceptions.FailureException
- Fehler beim Datenempfang.java.lang.InterruptedException
- Warten auf Antwortdatensatz wurde unterbrochen.RealOnlineElement.executeTake(long)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()