TANGO Java API
( TangORB-7.3.3.jar)

fr.esrf.TangoApi.events
Class EventData

java.lang.Object
  extended by fr.esrf.TangoApi.events.EventData
All Implemented Interfaces:
java.io.Serializable

public class EventData
extends java.lang.Object
implements java.io.Serializable

Author:
pascal_verdier
See Also:
Serialized Form

Field Summary
 AttributeInfoEx attr_config
           
 DeviceAttribute attr_value
           
 AttDataReady data_ready
           
 long date
           
 DeviceProxy device
           
 boolean err
           
 DevError[] errors
           
 java.lang.String event
           
 int event_type
           
 java.lang.String name
           
 
Constructor Summary
EventData(DeviceProxy device, java.lang.String name, java.lang.String event, int event_type, DeviceAttribute attr_value, AttributeInfoEx attr_config, AttDataReady data_ready, DevError[] errors)
          Creates a new instance of EventData
 
Method Summary
 boolean isAttrConfig()
          return true if event is TangoConst.ATT_CONF_EVENT
 boolean isAttrDataReady()
          return true if event is TangoConst.DATA_READY_EVENT
 boolean isAttrValue()
          return true if event is NOT TangoConst.ATT_CONF_EVENT
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

device

public DeviceProxy device

name

public java.lang.String name

event

public java.lang.String event

event_type

public int event_type

attr_value

public DeviceAttribute attr_value

attr_config

public AttributeInfoEx attr_config

data_ready

public AttDataReady data_ready

errors

public DevError[] errors

err

public boolean err

date

public long date
Constructor Detail

EventData

public EventData(DeviceProxy device,
                 java.lang.String name,
                 java.lang.String event,
                 int event_type,
                 DeviceAttribute attr_value,
                 AttributeInfoEx attr_config,
                 AttDataReady data_ready,
                 DevError[] errors)
Creates a new instance of EventData

Method Detail

isAttrValue

public boolean isAttrValue()
return true if event is NOT TangoConst.ATT_CONF_EVENT


isAttrConfig

public boolean isAttrConfig()
return true if event is TangoConst.ATT_CONF_EVENT


isAttrDataReady

public boolean isAttrDataReady()
return true if event is TangoConst.DATA_READY_EVENT


TANGO Java API
( TangORB-7.3.3.jar)