Package jadex.model
Class ServiceCallInfo
java.lang.Object
jadex.model.ServiceCallInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.FieldInfo
The callback field in the agent.protected jadex.common.MethodInfo
The callback method in the agent.protected String
The required service name.protected jadex.common.MethodInfo
The 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.FieldInfo
Get the callbackfield.jadex.common.MethodInfo
Get the callback.Get the reqname.jadex.common.MethodInfo
Get the method.void
setCallbackField
(jadex.common.FieldInfo callbackfield) The callbackfield to set.void
setCallbackMethod
(jadex.common.MethodInfo callback) The callback to set.void
setRequiredName
(String reqname) The reqname to set.void
setServiceMethod
(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
-