com.threerings.bureau.server
Interface BureauRegistry.Launcher

Enclosing class:
BureauRegistry

public static interface BureauRegistry.Launcher

Defines how a bureau is launched. Instances are associated to bureau types by the server on startup. The instances are used whenever the registry needs to launch a bureau for an agent with the associated bureau type.


Method Summary
 void launchBureau(String bureauId, String token)
          Kicks off a new bureau.
 

Method Detail

launchBureau

void launchBureau(String bureauId,
                  String token)
                  throws IOException
Kicks off a new bureau. This method will always be called on the unit invocation thread since it may do extensive I/O.

Parameters:
bureauId - the id of the bureau being launched
token - the secret string for the bureau to use in its credentials
Throws:
IOException