Interface ServiceCall


  • public interface ServiceCall
    Represents a call to a service, performed either as a forward, or as an effect.
    • Method Detail

      • ref

        ServiceCallRef<?> ref()
        The reference to the call.
        Returns:
        The reference to the call.
      • message

        com.google.protobuf.Any message()
        The message to pass to the call when the call is invoked.
        Returns:
        The message to pass to the call, serialized as an Any.
      • metadata

        Metadata metadata()
        The metadata to pass with the message when the call is invoked.
        Returns:
        The metadata.