public final class DeviceManager extends Object
DeviceManagement| Constructor and Description |
|---|
DeviceManager(DeviceImpl device)
Ctr
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminName() |
AttributePropertiesImpl |
getAttributeProperties(String attributeName)
Get an attribute's properties
|
String |
getClassName() |
String |
getClientHostName()
Deprecated.
|
fr.esrf.Tango.ClntIdent |
getClientIdentity()
Deprecated.
|
String |
getName() |
int |
getPollingPeriod(String polledObject)
Get polling period of an attribute or a command
|
boolean |
hasEventSubsriber() |
boolean |
isPolled(String polledObject)
Check if an attribute or an command is polled
|
void |
pushDataReadyEvent(String attributeName,
int counter)
Push a DATA_READY event if some client had registered it
|
void |
pushEvent(String attributeName,
AttributeValue value,
EventType eventType)
Push an event if some client had register it.
|
void |
pushEvent(String attributeName,
EventType eventType)
Push an event if some client had register it.
|
void |
pushPipeEvent(String pipeName,
PipeValue blob)
Push a PIPE EVENT event if some client had registered it
|
void |
removeAttributeProperties(String attributeName)
Remove an attribute's properties
|
void |
setAttributeProperties(String attributeName,
AttributePropertiesImpl properties)
Configure an attribute's properties
|
void |
startPolling(String polledObject,
int pollingPeriod)
Configure polling of an attribute or a command and start it
|
void |
stopPolling(String polledObject) |
String |
toString() |
void |
triggerPolling(String polledObject)
Update polling cache.
|
public DeviceManager(DeviceImpl device)
device - public String getName()
public String getClassName()
public String getAdminName()
public AttributePropertiesImpl getAttributeProperties(String attributeName) throws fr.esrf.Tango.DevFailed
attributeName - the attribute namefr.esrf.Tango.DevFailedpublic void setAttributeProperties(String attributeName, AttributePropertiesImpl properties) throws fr.esrf.Tango.DevFailed
attributeName - the attribute nameproperties - its propertiesfr.esrf.Tango.DevFailedpublic void removeAttributeProperties(String attributeName) throws fr.esrf.Tango.DevFailed
attributeName - the attribute namefr.esrf.Tango.DevFailedpublic boolean isPolled(String polledObject) throws fr.esrf.Tango.DevFailed
polledObject - The name of the polled object (attribute or command)fr.esrf.Tango.DevFailedpublic int getPollingPeriod(String polledObject) throws fr.esrf.Tango.DevFailed
polledObject - The name of the polled object (attribute or command)fr.esrf.Tango.DevFailedpublic void startPolling(String polledObject, int pollingPeriod) throws fr.esrf.Tango.DevFailed
polledObject - The name of the polled object (attribute or command)pollingPeriod - The polling periodfr.esrf.Tango.DevFailedpublic void stopPolling(String polledObject) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void triggerPolling(String polledObject) throws fr.esrf.Tango.DevFailed
polledObject - The name of the polled object (attribute or command)fr.esrf.Tango.DevFailedpublic void pushEvent(String attributeName, EventType eventType) throws fr.esrf.Tango.DevFailed
attributeName - The attribute nameeventType - The type of event to firefr.esrf.Tango.DevFailedpublic void pushEvent(String attributeName, AttributeValue value, EventType eventType) throws fr.esrf.Tango.DevFailed
attributeName - The attribute nameeventType - The type of event to firefr.esrf.Tango.DevFailedpublic void pushDataReadyEvent(String attributeName, int counter) throws fr.esrf.Tango.DevFailed
attributeName - The attribute namecounter - fr.esrf.Tango.DevFailedpublic void pushPipeEvent(String pipeName, PipeValue blob) throws fr.esrf.Tango.DevFailed
pipeName - The pipe nameblob - The pipe datafr.esrf.Tango.DevFailed@Deprecated public fr.esrf.Tango.ClntIdent getClientIdentity()
@Deprecated public String getClientHostName()
public boolean hasEventSubsriber()
Copyright © 2012–2017 Tango Controls. All rights reserved.