Class CallAccess
java.lang.Object
jadex.providedservice.impl.service.ServiceCall
jadex.providedservice.impl.service.CallAccess
Helper class to deal with service calls
-
Field Summary
Fields inherited from class jadex.providedservice.impl.service.ServiceCall
caller, CURRENT, DEFTIMEOUT, INHERIT, LAST, lastmod, MONITORING, NEXT, properties, REALTIME, SECURITY_INFOS, TIMEOUT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDummy constructor as this class only contains static methods. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceCallcreateServiceCall(jadex.core.ComponentIdentifier caller, Map<String, Object> props) Create a service call.static voidRemove the current service call.static voidReset the invocation data for the last service call.static voidReset the invocation data for the next service call.static voidroll()static voidSet the current service call.static voidsetLastInvocation(ServiceCall call) Reset the invocation data for the last service call.static voidsetNextInvocation(ServiceCall call) Reset the invocation data for the next service call.Methods inherited from class jadex.providedservice.impl.service.ServiceCall
getCaller, getCurrentInvocation, getLastInvocation, getNextInvocation, getOrCreateNextInvocation, getOrCreateNextInvocation, getPropertiesClone, getProperty, setProperty, toString
-
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
Set the current service call.- Parameters:
call- The service call.
-
resetCurrentInvocation
public static void resetCurrentInvocation()Remove the current service call. -
setNextInvocation
Reset the invocation data for the next service call. -
resetNextInvocation
public static void resetNextInvocation()Reset the invocation data for the next service call. -
setLastInvocation
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()
-