Package games.mythical.saga.sdk.client
Class SagaPlayerWalletClient
- java.lang.Object
-
- games.mythical.saga.sdk.client.AbstractSagaClient
-
- games.mythical.saga.sdk.client.AbstractSagaStreamClient
-
- games.mythical.saga.sdk.client.SagaPlayerWalletClient
-
public class SagaPlayerWalletClient extends AbstractSagaStreamClient
-
-
Field Summary
-
Fields inherited from class games.mythical.saga.sdk.client.AbstractSagaClient
channel, config, sagaCredentialsFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSagaPlayerWalletClient(SagaSdkConfig config)protectedSagaPlayerWalletClient(SagaSdkConfig config, SagaPlayerWalletExecutor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreatePlayerWallet(java.lang.String oauthId)SagaPlayerWalletgetPlayerWallet(java.lang.String oauthId)-
Methods inherited from class games.mythical.saga.sdk.client.AbstractSagaStreamClient
initStreamStub, subscribeToStream
-
Methods inherited from class games.mythical.saga.sdk.client.AbstractSagaClient
addAuthentication, stop
-
-
-
-
Constructor Detail
-
SagaPlayerWalletClient
protected SagaPlayerWalletClient(SagaSdkConfig config) throws SagaException
- Throws:
SagaException
-
SagaPlayerWalletClient
protected SagaPlayerWalletClient(SagaSdkConfig config, SagaPlayerWalletExecutor executor) throws SagaException
- Throws:
SagaException
-
-
Method Detail
-
getPlayerWallet
public SagaPlayerWallet getPlayerWallet(java.lang.String oauthId) throws SagaException
- Throws:
SagaException
-
createPlayerWallet
public java.lang.String createPlayerWallet(java.lang.String oauthId) throws SagaException- Throws:
SagaException
-
-