Class CallAccess

java.lang.Object
jadex.providedservice.impl.service.ServiceCall
jadex.providedservice.impl.service.CallAccess

public abstract class CallAccess extends ServiceCall
Helper class to deal with service calls
  • Constructor Details

    • CallAccess

      protected CallAccess()
      Dummy constructor as this class only contains static methods.
  • Method Details

    • createServiceCall

      public static ServiceCall createServiceCall(jadex.core.ComponentIdentifier caller, Map<String,Object> props)
      Create a service call.
      Parameters:
      caller - The calling component.
      props - The properties.
    • setCurrentInvocation

      public static void setCurrentInvocation(ServiceCall call)
      Set the current service call.
      Parameters:
      call - The service call.
    • resetCurrentInvocation

      public static void resetCurrentInvocation()
      Remove the current service call.
    • setNextInvocation

      public static void setNextInvocation(ServiceCall call)
      Reset the invocation data for the next service call.
    • resetNextInvocation

      public static void resetNextInvocation()
      Reset the invocation data for the next service call.
    • setLastInvocation

      public static void setLastInvocation(ServiceCall call)
      Reset the invocation data for the last service call.
    • resetLastInvocation

      public static void resetLastInvocation()
      Reset the invocation data for the last service call.
    • roll

      public static void roll()