org.tango.server.dynamic.attribute
Class PublisherAttribute

java.lang.Object
  extended by org.tango.server.dynamic.attribute.PublisherAttribute
All Implemented Interfaces:
IAttributeBehavior

public final class PublisherAttribute
extends java.lang.Object
implements IAttributeBehavior


Constructor Summary
PublisherAttribute(java.lang.String... config)
          Create a dynamic attribute publisher
 
Method Summary
 AttributeConfiguration getConfiguration()
           
 StateMachineBehavior getStateMachine()
           
 AttributeValue getValue()
          Read attribute
 void setValue(AttributeValue value)
          Write attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublisherAttribute

public PublisherAttribute(java.lang.String... config)
                   throws fr.esrf.Tango.DevFailed
Create a dynamic attribute publisher

Parameters:
config - config[0] attribute name; config[1] type (ie. double, double[], double[][])
Throws:
java.lang.ClassNotFoundException
fr.esrf.Tango.DevFailed
Method Detail

getConfiguration

public AttributeConfiguration getConfiguration()
                                        throws fr.esrf.Tango.DevFailed
Specified by:
getConfiguration in interface IAttributeBehavior
Returns:
attribute configuration
Throws:
fr.esrf.Tango.DevFailed

getValue

public AttributeValue getValue()
                        throws fr.esrf.Tango.DevFailed
Description copied from interface: IAttributeBehavior
Read attribute

Specified by:
getValue in interface IAttributeBehavior
Returns:
the read value
Throws:
fr.esrf.Tango.DevFailed

setValue

public void setValue(AttributeValue value)
              throws fr.esrf.Tango.DevFailed
Description copied from interface: IAttributeBehavior
Write attribute

Specified by:
setValue in interface IAttributeBehavior
Throws:
fr.esrf.Tango.DevFailed

getStateMachine

public StateMachineBehavior getStateMachine()
Specified by:
getStateMachine in interface IAttributeBehavior
Returns:
The state machine of this attribute


Copyright © 2012-2014. All Rights Reserved.