public static final class StateGrpc.StateBlockingStub extends io.grpc.stub.AbstractBlockingStub<StateGrpc.StateBlockingStub>
State service is a always running service that exposes the current state of the wallet and RPC server.
Modifier and Type | Method and Description |
---|---|
protected StateGrpc.StateBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Stateservice.GetStateResponse |
getState(Stateservice.GetStateRequest request)
GetState returns the current wallet state without streaming further
changes.
|
java.util.Iterator<Stateservice.SubscribeStateResponse> |
subscribeState(Stateservice.SubscribeStateRequest request)
SubscribeState subscribes to the state of the wallet.
|
protected StateGrpc.StateBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<StateGrpc.StateBlockingStub>
public java.util.Iterator<Stateservice.SubscribeStateResponse> subscribeState(Stateservice.SubscribeStateRequest request)
SubscribeState subscribes to the state of the wallet. The current wallet state will always be delivered immediately.
public Stateservice.GetStateResponse getState(Stateservice.GetStateRequest request)
GetState returns the current wallet state without streaming further changes.