Class GrpcVerbServiceClient

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final VerbServiceWireGrpc.VerbServiceBlockingStub client
    • Constructor Summary

      Constructors 
      Constructor Description
      GrpcVerbServiceClient(VerbServiceWireGrpc.VerbServiceBlockingStub client)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final VerbServiceWireGrpc.VerbServiceBlockingStub getClient()
      String call(Context context, VerbRef ref, String req) Call a verb.
      • Methods inherited from class java.lang.Object

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

      • GrpcVerbServiceClient

        GrpcVerbServiceClient(VerbServiceWireGrpc.VerbServiceBlockingStub client)
    • Method Detail

      • getClient

         final VerbServiceWireGrpc.VerbServiceBlockingStub getClient()
      • call

         String call(Context context, VerbRef ref, String req)

        Call a verb.

        Parameters:
        ref - The verb to call.
        req - The request encoded as JSON.
        Returns:

        The response encoded as JSON.