org.tango.server.pipe
Class ReflectPipeBehavior

java.lang.Object
  extended by org.tango.server.pipe.ReflectPipeBehavior
All Implemented Interfaces:
IPipeBehavior

public final class ReflectPipeBehavior
extends java.lang.Object
implements IPipeBehavior


Constructor Summary
ReflectPipeBehavior(PipeConfiguration config, java.lang.Object businessObject, java.lang.reflect.Method getter, java.lang.reflect.Method setter)
          Ctr
 
Method Summary
 PipeConfiguration getConfiguration()
           
 StateMachineBehavior getStateMachine()
           
 PipeValue getValue()
          Read pipe
 void setValue(PipeValue value)
          Write pipe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectPipeBehavior

public ReflectPipeBehavior(PipeConfiguration config,
                           java.lang.Object businessObject,
                           java.lang.reflect.Method getter,
                           java.lang.reflect.Method setter)
Ctr

Parameters:
config - The attribute configuration
businessObject - The object that contains the attribute
getter - The method to read the attribute
setter - The method to write the attribute
Method Detail

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.