public interface Spawner
| Modifier and Type | Method and Description |
|---|---|
void |
clientIsReady(java.lang.String uuid,
java.lang.String data)
Notify when the client has started.
|
TemporaryClient |
getTemporaryClient(java.lang.String uuid,
java.lang.String projectToken)
Get a
TemporaryClient worker which will do the work after authenticating on the P2J
server using the temporary credentials. |
void |
releaseClient(java.lang.String uuid)
Releases the system resources for the spawned client given by its uuid.
|
void clientIsReady(java.lang.String uuid,
java.lang.String data)
uuid - Remote client assigned identifier.data - Custom data sent by the P2J client back to the server.TemporaryClient getTemporaryClient(java.lang.String uuid, java.lang.String projectToken)
TemporaryClient worker which will do the work after authenticating on the P2J
server using the temporary credentials.uuid - Remote client assigned identifier.projectToken - The project token to be set for the temporary session.void releaseClient(java.lang.String uuid)
uuid - Remote client assigned identifier.