All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cloudstate.javasupport.ServiceCall Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package io.cloudstate.javasupport;

import com.google.protobuf.Any;
import com.google.protobuf.Descriptors;

/** Represents a call to a service, performed either as a forward, or as an effect. */
public interface ServiceCall {

  /**
   * The reference to the call.
   *
   * @return The reference to the call.
   */
  ServiceCallRef ref();

  /**
   * The message to pass to the call when the call is invoked.
   *
   * @return The message to pass to the call, serialized as an {@link Any}.
   */
  Any message();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy