Class ReflectionService

    • Method Detail

      • name

        public ServiceName name()
        Description copied from interface: Service
        Get the name of the service.
        Specified by:
        name in interface Service
        Returns:
        the name of the service
      • descriptor

        public com.google.protobuf.Descriptors.ServiceDescriptor descriptor()
        Description copied from interface: Service
        Get the service descriptor that contains detailed information about the service.
        Specified by:
        descriptor in interface Service
        Returns:
        the service descriptor
      • bind

        public void bind​(GrpcServer server)
        Description copied from interface: Service
        Binds this service and all its registered method handlers to the specified gRPC server. This allows the server to handle requests for this service.
        Specified by:
        bind in interface Service
        Parameters:
        server - the gRPC server to bind this service to