Class MsgGrpc.MsgStub

  • Enclosing class:
    MsgGrpc

    public static final class MsgGrpc.MsgStub
    extends io.grpc.stub.AbstractAsyncStub<MsgGrpc.MsgStub>
     Msg defines the bank Msg service.
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

        io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected MsgGrpc.MsgStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      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.
      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.
      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.
      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.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • build

        protected MsgGrpc.MsgStub build​(io.grpc.Channel channel,
                                        io.grpc.CallOptions callOptions)
        Specified by:
        build in class io.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.