|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tango.server.events.EventManager
public final class EventManager
Set of ZMQ low level utilities
Method Summary | |
---|---|
static void |
checkEventCriteria(AttributeImpl attribute,
EventType eventType)
Check if event criteria are set for change and archive events |
void |
close()
Close all zmq resources |
fr.esrf.Tango.DevVarLongStringArray |
getConnectionParameters()
returns the connection parameters for specified event. |
fr.esrf.Tango.DevVarLongStringArray |
getConnectionParameters(java.lang.String deviceName,
AttributeImpl attribute,
EventType eventType)
Initialize ZMQ event system if not already done, subscribe to the specified event end returns the connection parameters for specified event. |
static EventManager |
getInstance()
|
void |
pushConfigEvent(java.lang.String deviceName,
java.lang.String attributeName)
|
void |
pushDataReadyEvent(java.lang.String deviceName,
java.lang.String attributeName,
int counter)
fire event with AttDataReady |
void |
pushEvent(java.lang.String deviceName,
java.lang.String attributeName)
Check if the event must be sent and fire it if must be done |
void |
pushEvent(java.lang.String deviceName,
java.lang.String attributeName,
fr.esrf.Tango.DevFailed devFailed)
Check if the event must be sent and fire it if must be done |
void |
pushEvent(java.lang.String deviceName,
java.lang.String attributeName,
EventType eventTypeName)
fire event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EventManager getInstance()
public void close()
public fr.esrf.Tango.DevVarLongStringArray getConnectionParameters()
public fr.esrf.Tango.DevVarLongStringArray getConnectionParameters(java.lang.String deviceName, AttributeImpl attribute, EventType eventType) throws fr.esrf.Tango.DevFailed
deviceName
- The specified event device nameattribute
- The specified event attribute nameeventType
- The specified event type
fr.esrf.Tango.DevFailed
public void pushEvent(java.lang.String deviceName, java.lang.String attributeName, fr.esrf.Tango.DevFailed devFailed) throws fr.esrf.Tango.DevFailed
attributeName
- specified event attributedevFailed
- the attribute failed error to be sent as event
fr.esrf.Tango.DevFailed
public void pushEvent(java.lang.String deviceName, java.lang.String attributeName) throws fr.esrf.Tango.DevFailed
attributeName
- specified event attribute
fr.esrf.Tango.DevFailed
public void pushEvent(java.lang.String deviceName, java.lang.String attributeName, EventType eventTypeName) throws fr.esrf.Tango.DevFailed
deviceName
- Specified event deviceattributeName
- specified event attribute nameeventTypeName
- specified event type.
fr.esrf.Tango.DevFailed
public void pushDataReadyEvent(java.lang.String deviceName, java.lang.String attributeName, int counter) throws fr.esrf.Tango.DevFailed
deviceName
- Specified event deviceattributeName
- specified event attribute namecounter
- a counter value
fr.esrf.Tango.DevFailed
public void pushConfigEvent(java.lang.String deviceName, java.lang.String attributeName) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public static void checkEventCriteria(AttributeImpl attribute, EventType eventType) throws fr.esrf.Tango.DevFailed
attribute
- the specified attributeeventType
- the specified event type
fr.esrf.Tango.DevFailed
- if event type is change or archive and no event criteria is set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |