Packageorg.spicefactory.parsley.rpc.cinnamon.command
Classpublic class CinnamonCommandFactory
InheritanceCinnamonCommandFactory Inheritance Object
Implements CommandFactory

CommandFactory implementation that supports command methods that return an Cinnamon ServiceRequest. May be used in Flex or Flash applications that use Cinnamon Remoting for RPC calls.



Public Methods
 MethodDefined By
  
createCommand(returnValue:Object, message:Message):Command
Creates a new Command instance.
CinnamonCommandFactory
Method Detail
createCommand()method
public function createCommand(returnValue:Object, message:Message):Command

Creates a new Command instance.

Parameters

returnValue:Object — the value returned by the method that executed the command
 
message:Message — the message that triggered the command execution

Returns
Command — a new Command instance