org.tango.server.dynamic.command
Class AsyncGroupCommand

java.lang.Object
  extended by org.tango.server.dynamic.command.AsyncGroupCommand
All Implemented Interfaces:
ICommandBehavior

public class AsyncGroupCommand
extends java.lang.Object
implements ICommandBehavior

Send void commands and forget

Author:
ABEILLE

Constructor Summary
AsyncGroupCommand(java.lang.String name, java.lang.String... commandFullNames)
           
 
Method Summary
 java.lang.Object execute(java.lang.Object arg)
          Execute the command
 CommandConfiguration getConfiguration()
           
 StateMachineBehavior getStateMachine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncGroupCommand

public AsyncGroupCommand(java.lang.String name,
                         java.lang.String... commandFullNames)
                  throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed
Method Detail

getConfiguration

public CommandConfiguration getConfiguration()
                                      throws fr.esrf.Tango.DevFailed
Specified by:
getConfiguration in interface ICommandBehavior
Returns:
the command configuration
Throws:
fr.esrf.Tango.DevFailed

execute

public java.lang.Object execute(java.lang.Object arg)
                         throws fr.esrf.Tango.DevFailed
Description copied from interface: ICommandBehavior
Execute the command

Specified by:
execute in interface ICommandBehavior
Parameters:
arg - the input of the command
Returns:
The ouput of the command
Throws:
fr.esrf.Tango.DevFailed

getStateMachine

public StateMachineBehavior getStateMachine()
                                     throws fr.esrf.Tango.DevFailed
Specified by:
getStateMachine in interface ICommandBehavior
Returns:
the command state machine
Throws:
fr.esrf.Tango.DevFailed


Copyright © 2012-2016. All Rights Reserved.