Package io.cloudstate.javasupport
Interface ServiceCallRef<T>
-
- Type Parameters:
T- The type of message the call accepts.
public interface ServiceCallRef<T>A reference to a call on a service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceCallcreateCall(T message)Create a call from this reference, using the given message as the message to pass to it when it's invoked.com.google.protobuf.Descriptors.MethodDescriptormethod()The protobuf descriptor for the method.
-
-
-
Method Detail
-
method
com.google.protobuf.Descriptors.MethodDescriptor method()
The protobuf descriptor for the method.- Returns:
- The protobuf descriptor for the method.
-
createCall
ServiceCall createCall(T message)
Create a call from this reference, using the given message as the message to pass to it when it's invoked.- Parameters:
message- The message to pass to the method.- Returns:
- A service call that can be used as a forward or effect.
-
-