org.tango.server.command
Interface ICommandBehavior

All Known Implementing Classes:
DynamicCommandTest, GroupCommand, ProxyCommand, ReflectCommandBehavior

public interface ICommandBehavior

Defines the behavior of a Tango command.

Author:
ABEILLE

Method Summary
 java.lang.Object execute(java.lang.Object arg)
          Execute the command
 CommandConfiguration getConfiguration()
           
 StateMachineBehavior getStateMachine()
           
 

Method Detail

getConfiguration

CommandConfiguration getConfiguration()
                                      throws fr.esrf.Tango.DevFailed
Returns:
the command configuration
Throws:
fr.esrf.Tango.DevFailed

execute

java.lang.Object execute(java.lang.Object arg)
                         throws fr.esrf.Tango.DevFailed
Execute the command

Parameters:
arg - the input of the command
Returns:
The ouput of the command
Throws:
fr.esrf.Tango.DevFailed

getStateMachine

StateMachineBehavior getStateMachine()
                                     throws fr.esrf.Tango.DevFailed
Returns:
the command state machine
Throws:
fr.esrf.Tango.DevFailed


Copyright © 2012-2015. All Rights Reserved.