Package games.mythical.saga.sdk.client
Class AbstractSagaClient
- java.lang.Object
-
- games.mythical.saga.sdk.client.AbstractSagaClient
-
- Direct Known Subclasses:
AbstractSagaStreamClient
public abstract class AbstractSagaClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected io.grpc.ManagedChannelchannelprotected SagaSdkConfigconfigprotected SagaCredentialsFactorysagaCredentialsFactory
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSagaClient(SagaSdkConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.CallCredentialsaddAuthentication()voidstop()
-
-
-
Field Detail
-
config
protected final SagaSdkConfig config
-
sagaCredentialsFactory
protected final SagaCredentialsFactory sagaCredentialsFactory
-
channel
protected io.grpc.ManagedChannel channel
-
-
Constructor Detail
-
AbstractSagaClient
protected AbstractSagaClient(SagaSdkConfig config) throws SagaException
- Throws:
SagaException
-
-