Package io.cloudstate.javasupport
Interface ServiceCall
-
public interface ServiceCallRepresents a call to a service, performed either as a forward, or as an effect.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Anymessage()The message to pass to the call when the call is invoked.ServiceCallRef<?>ref()The reference to the call.
-
-
-
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.
-
-