Class AbstractCall<R>

  • Type Parameters:
    R - the return type of the called function
    All Implemented Interfaces:
    Call<R>
    Direct Known Subclasses:
    LocalCall, RunnerCall, WheelCall

    public abstract class AbstractCall<R>
    extends Object
    implements Call<R>
    Abstract class for all function calls in salt.
    • Method Detail

      • getReturnType

        public com.google.gson.reflect.TypeToken<R> getReturnType()
        Return the return type of this call.
        Returns:
        returnType the return type of this call
      • getModuleName

        public String getModuleName()
        Return the module name.
        Returns:
        moduleName the module name
      • getFunctionName

        public String getFunctionName()
        Return just the function name (e.g. "ping" ).
        Returns:
        just the function name (e.g. "ping").