org.tango.server.pipe
Class ReflectPipeBehavior
java.lang.Object
org.tango.server.pipe.ReflectPipeBehavior
- All Implemented Interfaces:
- IPipeBehavior
public final class ReflectPipeBehavior
- extends java.lang.Object
- implements IPipeBehavior
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectPipeBehavior
public ReflectPipeBehavior(PipeConfiguration config,
java.lang.Object businessObject,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
- Ctr
- Parameters:
config
- The attribute configurationbusinessObject
- The object that contains the attributegetter
- The method to read the attributesetter
- The method to write the attribute
getValue
public PipeValue getValue()
throws fr.esrf.Tango.DevFailed
- Description copied from interface:
IPipeBehavior
- Read pipe
- Specified by:
getValue
in interface IPipeBehavior
- Returns:
- the read value
- Throws:
fr.esrf.Tango.DevFailed
setValue
public void setValue(PipeValue value)
throws fr.esrf.Tango.DevFailed
- Description copied from interface:
IPipeBehavior
- Write pipe
- Specified by:
setValue
in interface IPipeBehavior
- Throws:
fr.esrf.Tango.DevFailed
getStateMachine
public StateMachineBehavior getStateMachine()
throws fr.esrf.Tango.DevFailed
- Specified by:
getStateMachine
in interface IPipeBehavior
- Returns:
- The state machine of this attribute
- Throws:
fr.esrf.Tango.DevFailed
getConfiguration
public PipeConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface IPipeBehavior
- Returns:
- pipe configuration
Copyright © 2012-2016. All Rights Reserved.