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
ConstructorsModifierConstructorDescriptionprotected
Dummy constructor as this class only contains static methods. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceCall
createServiceCall
(jadex.core.ComponentIdentifier caller, Map<String, Object> props) Create a service call.static void
Remove the current service call.static void
Reset the invocation data for the last service call.static void
Reset the invocation data for the next service call.static void
roll()
static void
Set the current service call.static void
setLastInvocation
(ServiceCall call) Reset the invocation data for the last service call.static void
setNextInvocation
(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()
-