类 GrpcChannel

java.lang.Object
org.egolessness.destino.grpc.GrpcChannel

public class GrpcChannel extends Object
grpc channel.
  • 构造器详细资料

    • GrpcChannel

      public GrpcChannel(org.egolessness.destino.common.properties.RequestProperties properties)
  • 方法详细资料

    • getStub

      public GrpcStub getStub(URI uri)
    • createStub

      public GrpcStub createStub(URI uri)
    • connectToServer

      public io.grpc.stub.StreamObserver<com.google.protobuf.Any> connectToServer(GrpcStub grpcStub, org.egolessness.destino.common.fixedness.Callback<org.egolessness.destino.common.model.message.Response> callback, org.egolessness.destino.common.infrastructure.RequestProcessorRegistry registry) throws org.egolessness.destino.common.exception.DestinoException
      抛出:
      org.egolessness.destino.common.exception.DestinoException