com.threerings.bureau.server
Interface BureauRegistry.CommandGenerator

Enclosing class:
BureauRegistry

public static interface BureauRegistry.CommandGenerator

Defines how to generate a command to launch a bureau in a local process.

See Also:
BureauRegistry.setCommandGenerator(String,CommandGenerator,int), BureauRegistry.Launcher

Method Summary
 String[] createCommand(String bureauId, String token)
          Creates the command line to launch a new bureau using the given information.
 

Method Detail

createCommand

String[] createCommand(String bureauId,
                       String token)
Creates the command line to launch a new bureau using the given information. Called by the registry when a new bureau is needed whose type was registered with setCommandGenerator.

Parameters:
bureauId - the id of the bureau being launched
token - the token string to use for the credentials when logging in
Returns:
command line arguments, including executable name