Package cosmos.gov.v1beta1
Class MsgGrpc.MsgStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
-
- cosmos.gov.v1beta1.MsgGrpc.MsgStub
-
- Enclosing class:
- MsgGrpc
public static final class MsgGrpc.MsgStub extends io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
Msg defines the bank Msg service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MsgGrpc.MsgStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voiddeposit(cosmos.gov.v1beta1.Tx.MsgDeposit request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgDepositResponse> responseObserver)Deposit defines a method to add deposit on a specific proposal.voidsubmitProposal(cosmos.gov.v1beta1.Tx.MsgSubmitProposal request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgSubmitProposalResponse> responseObserver)SubmitProposal defines a method to create new proposal given a content.voidvote(cosmos.gov.v1beta1.Tx.MsgVote request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteResponse> responseObserver)Vote defines a method to add a vote on a specific proposal.voidvoteWeighted(cosmos.gov.v1beta1.Tx.MsgVoteWeighted request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteWeightedResponse> responseObserver)VoteWeighted defines a method to add a weighted vote on a specific proposal.
-
-
-
Method Detail
-
build
protected MsgGrpc.MsgStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MsgGrpc.MsgStub>
-
submitProposal
public void submitProposal(cosmos.gov.v1beta1.Tx.MsgSubmitProposal request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgSubmitProposalResponse> responseObserver)SubmitProposal defines a method to create new proposal given a content.
-
vote
public void vote(cosmos.gov.v1beta1.Tx.MsgVote request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteResponse> responseObserver)Vote defines a method to add a vote on a specific proposal.
-
voteWeighted
public void voteWeighted(cosmos.gov.v1beta1.Tx.MsgVoteWeighted request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgVoteWeightedResponse> responseObserver)VoteWeighted defines a method to add a weighted vote on a specific proposal.
-
deposit
public void deposit(cosmos.gov.v1beta1.Tx.MsgDeposit request, io.grpc.stub.StreamObserver<cosmos.gov.v1beta1.Tx.MsgDepositResponse> responseObserver)Deposit defines a method to add deposit on a specific proposal.
-
-