Class MsgGrpc.MsgImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    MsgGrpc

    public abstract static class MsgGrpc.MsgImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     Msg defines the authz Msg service.
     
    • Constructor Summary

      Constructors 
      Constructor Description
      MsgImplBase()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.grpc.ServerServiceDefinition bindService()  
      void exec​(cosmos.authz.v1beta1.Tx.MsgExec request, io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgExecResponse> responseObserver)
      Exec attempts to execute the provided messages using authorizations granted to the grantee.
      void grant​(cosmos.authz.v1beta1.Tx.MsgGrant request, io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgGrantResponse> responseObserver)
      Grant grants the provided authorization to the grantee on the granter's account with the provided expiration time.
      void revoke​(cosmos.authz.v1beta1.Tx.MsgRevoke request, io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgRevokeResponse> responseObserver)
      Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.
      • Methods inherited from class java.lang.Object

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

      • MsgImplBase

        public MsgImplBase()
    • Method Detail

      • grant

        public void grant​(cosmos.authz.v1beta1.Tx.MsgGrant request,
                          io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgGrantResponse> responseObserver)
         Grant grants the provided authorization to the grantee on the granter's
         account with the provided expiration time. If there is already a grant
         for the given (granter, grantee, Authorization) triple, then the grant
         will be overwritten.
         
      • exec

        public void exec​(cosmos.authz.v1beta1.Tx.MsgExec request,
                         io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgExecResponse> responseObserver)
         Exec attempts to execute the provided messages using
         authorizations granted to the grantee. Each message should have only
         one signer corresponding to the granter of the authorization.
         
      • revoke

        public void revoke​(cosmos.authz.v1beta1.Tx.MsgRevoke request,
                           io.grpc.stub.StreamObserver<cosmos.authz.v1beta1.Tx.MsgRevokeResponse> responseObserver)
         Revoke revokes any authorization corresponding to the provided method name on the
         granter's account that has been granted to the grantee.
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService