public static interface StateGrpc.AsyncService
State service is a always running service that exposes the current state of the wallet and RPC server.
Modifier and Type | Method and Description |
---|---|
default void |
getState(Stateservice.GetStateRequest request,
io.grpc.stub.StreamObserver<Stateservice.GetStateResponse> responseObserver)
GetState returns the current wallet state without streaming further
changes.
|
default void |
subscribeState(Stateservice.SubscribeStateRequest request,
io.grpc.stub.StreamObserver<Stateservice.SubscribeStateResponse> responseObserver)
SubscribeState subscribes to the state of the wallet.
|
default void subscribeState(Stateservice.SubscribeStateRequest request, io.grpc.stub.StreamObserver<Stateservice.SubscribeStateResponse> responseObserver)
SubscribeState subscribes to the state of the wallet. The current wallet state will always be delivered immediately.
default void getState(Stateservice.GetStateRequest request, io.grpc.stub.StreamObserver<Stateservice.GetStateResponse> responseObserver)
GetState returns the current wallet state without streaming further changes.