org.robokind.api.messaging.services
Interface ServiceCommandFactory


public interface ServiceCommandFactory

Author:
Matthew Stevenson

Method Summary
 ServiceCommand create(String sourceId, String destId, String command)
          Returns a ServiceCommand for the given command string.
 

Method Detail

create

ServiceCommand create(String sourceId,
                      String destId,
                      String command)
Returns a ServiceCommand for the given command string. Returns null if the command string is invalid.

Parameters:
sourceId - command source
destId - intended command destination
command - command string to use
Returns:
ServiceCommand for the given command string, null if the command string is invalid


Copyright © 2011-2013. All Rights Reserved.