|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tango.server.device.DeviceManager
public final class DeviceManager
Global info and tool for a device. Injected with DeviceManagement
Constructor Summary | |
---|---|
DeviceManager(DeviceImpl device)
Ctr |
Method Summary | |
---|---|
java.lang.String |
getAdminName()
|
AttributePropertiesImpl |
getAttributeProperties(java.lang.String attributeName)
Get an attribute's properties |
java.lang.String |
getClassName()
|
java.lang.String |
getClientHostName()
Get the client host name of the current request |
fr.esrf.Tango.ClntIdent |
getClientIdentity()
Deprecated. |
java.lang.String |
getName()
|
int |
getPollingPeriod(java.lang.String polledObject)
Get polling period of an attribute or a command |
boolean |
hasEventSubsriber()
|
boolean |
isPolled(java.lang.String polledObject)
Check if an attribute or an command is polled |
void |
pushDataReadyEvent(java.lang.String attributeName,
int counter)
Push a DATA_READY event if some client had registered it |
void |
pushEvent(java.lang.String attributeName,
AttributeValue value,
EventType eventType)
Push an event if some client had register it. |
void |
pushEvent(java.lang.String attributeName,
EventType eventType)
Push an event if some client had register it. |
void |
pushPipeEvent(java.lang.String pipeName,
PipeValue blob)
Push a PIPE EVENT event if some client had registered it |
void |
removeAttributeProperties(java.lang.String attributeName)
Remove an attribute's properties |
void |
setAttributeProperties(java.lang.String attributeName,
AttributePropertiesImpl properties)
Configure an attribute's properties |
void |
startPolling(java.lang.String polledObject,
int pollingPeriod)
Configure polling of an attribute or a command and start it |
void |
stopPolling(java.lang.String polledObject)
|
java.lang.String |
toString()
|
void |
triggerPolling(java.lang.String polledObject)
Update polling cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeviceManager(DeviceImpl device)
device
- Method Detail |
---|
public java.lang.String getName()
public java.lang.String getClassName()
public java.lang.String getAdminName()
public AttributePropertiesImpl getAttributeProperties(java.lang.String attributeName) throws fr.esrf.Tango.DevFailed
attributeName
- the attribute name
fr.esrf.Tango.DevFailed
public void setAttributeProperties(java.lang.String attributeName, AttributePropertiesImpl properties) throws fr.esrf.Tango.DevFailed
attributeName
- the attribute nameproperties
- its properties
fr.esrf.Tango.DevFailed
public void removeAttributeProperties(java.lang.String attributeName) throws fr.esrf.Tango.DevFailed
attributeName
- the attribute name
fr.esrf.Tango.DevFailed
public boolean isPolled(java.lang.String polledObject) throws fr.esrf.Tango.DevFailed
polledObject
- The name of the polled object (attribute or command)
fr.esrf.Tango.DevFailed
public int getPollingPeriod(java.lang.String polledObject) throws fr.esrf.Tango.DevFailed
polledObject
- The name of the polled object (attribute or command)
fr.esrf.Tango.DevFailed
public void startPolling(java.lang.String polledObject, int pollingPeriod) throws fr.esrf.Tango.DevFailed
polledObject
- The name of the polled object (attribute or command)pollingPeriod
- The polling period
fr.esrf.Tango.DevFailed
public void stopPolling(java.lang.String polledObject) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void triggerPolling(java.lang.String polledObject) throws fr.esrf.Tango.DevFailed
polledObject
- The name of the polled object (attribute or command)
fr.esrf.Tango.DevFailed
public void pushEvent(java.lang.String attributeName, EventType eventType) throws fr.esrf.Tango.DevFailed
attributeName
- The attribute nameeventType
- The type of event to fire
fr.esrf.Tango.DevFailed
public void pushEvent(java.lang.String attributeName, AttributeValue value, EventType eventType) throws fr.esrf.Tango.DevFailed
attributeName
- The attribute nameeventType
- The type of event to fire
fr.esrf.Tango.DevFailed
public void pushDataReadyEvent(java.lang.String attributeName, int counter) throws fr.esrf.Tango.DevFailed
attributeName
- The attribute namecounter
-
fr.esrf.Tango.DevFailed
public void pushPipeEvent(java.lang.String pipeName, PipeValue blob) throws fr.esrf.Tango.DevFailed
pipeName
- The pipe nameblob
- The pipe data
fr.esrf.Tango.DevFailed
@Deprecated public fr.esrf.Tango.ClntIdent getClientIdentity()
public java.lang.String getClientHostName()
public boolean hasEventSubsriber()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |