Package jadex.model
Class ServiceCallInfo
java.lang.Object
jadex.model.ServiceCallInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.FieldInfoThe callback field in the agent.protected jadex.common.MethodInfoThe callback method in the agent.protected StringThe required service name.protected jadex.common.MethodInfoThe method to call on the service. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new service call info.ServiceCallInfo(String reqname, jadex.common.MethodInfo servicemethod, jadex.common.FieldInfo callbackfield) Create a new service call info.ServiceCallInfo(String reqname, jadex.common.MethodInfo servicemethod, jadex.common.MethodInfo callbackmethod) Create a new service call info. -
Method Summary
Modifier and TypeMethodDescriptionjadex.common.FieldInfoGet the callbackfield.jadex.common.MethodInfoGet the callback.Get the reqname.jadex.common.MethodInfoGet the method.voidsetCallbackField(jadex.common.FieldInfo callbackfield) The callbackfield to set.voidsetCallbackMethod(jadex.common.MethodInfo callback) The callback to set.voidsetRequiredName(String reqname) The reqname to set.voidsetServiceMethod(jadex.common.MethodInfo method) The method to set.
-
Field Details
-
reqname
The required service name. -
servicemethod
protected jadex.common.MethodInfo servicemethodThe method to call on the service. -
callbackmethod
protected jadex.common.MethodInfo callbackmethodThe callback method in the agent. -
callbackfield
protected jadex.common.FieldInfo callbackfieldThe callback field in the agent.
-
-
Constructor Details
-
ServiceCallInfo
public ServiceCallInfo()Create a new service call info. -
ServiceCallInfo
public ServiceCallInfo(String reqname, jadex.common.MethodInfo servicemethod, jadex.common.MethodInfo callbackmethod) Create a new service call info. -
ServiceCallInfo
public ServiceCallInfo(String reqname, jadex.common.MethodInfo servicemethod, jadex.common.FieldInfo callbackfield) Create a new service call info.
-
-
Method Details
-
getRequiredName
Get the reqname.- Returns:
- The reqname
-
setRequiredName
The reqname to set.- Parameters:
reqname- The reqname to set
-
getServiceMethod
public jadex.common.MethodInfo getServiceMethod()Get the method.- Returns:
- The method
-
setServiceMethod
public void setServiceMethod(jadex.common.MethodInfo method) The method to set.- Parameters:
method- The method to set
-
getCallbackMethod
public jadex.common.MethodInfo getCallbackMethod()Get the callback.- Returns:
- The callback
-
setCallbackMethod
public void setCallbackMethod(jadex.common.MethodInfo callback) The callback to set.- Parameters:
callback- The callback to set
-
getCallbackField
public jadex.common.FieldInfo getCallbackField()Get the callbackfield.- Returns:
- The callbackfield
-
setCallbackField
public void setCallbackField(jadex.common.FieldInfo callbackfield) The callbackfield to set.- Parameters:
callbackfield- The callbackfield to set
-