Package jadex.bridge
Class ServiceCallInfo
- java.lang.Object
-
- jadex.bridge.ServiceCallInfo
-
public class ServiceCallInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected FieldInfo
callbackfield
The callback field in the agent.protected MethodInfo
callbackmethod
The callback method in the agent.protected java.lang.String
reqname
The required service name.protected MethodInfo
servicemethod
The method to call on the service.
-
Constructor Summary
Constructors Constructor Description ServiceCallInfo()
Create a new service call info.ServiceCallInfo(java.lang.String reqname, MethodInfo servicemethod, FieldInfo callbackfield)
Create a new service call info.ServiceCallInfo(java.lang.String reqname, MethodInfo servicemethod, MethodInfo callbackmethod)
Create a new service call info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldInfo
getCallbackField()
Get the callbackfield.MethodInfo
getCallbackMethod()
Get the callback.java.lang.String
getRequiredName()
Get the reqname.MethodInfo
getServiceMethod()
Get the method.void
setCallbackField(FieldInfo callbackfield)
The callbackfield to set.void
setCallbackMethod(MethodInfo callback)
The callback to set.void
setRequiredName(java.lang.String reqname)
The reqname to set.void
setServiceMethod(MethodInfo method)
The method to set.
-
-
-
Field Detail
-
reqname
protected java.lang.String reqname
The required service name.
-
servicemethod
protected MethodInfo servicemethod
The method to call on the service.
-
callbackmethod
protected MethodInfo callbackmethod
The callback method in the agent.
-
callbackfield
protected FieldInfo callbackfield
The callback field in the agent.
-
-
Constructor Detail
-
ServiceCallInfo
public ServiceCallInfo()
Create a new service call info.
-
ServiceCallInfo
public ServiceCallInfo(java.lang.String reqname, MethodInfo servicemethod, MethodInfo callbackmethod)
Create a new service call info.
-
ServiceCallInfo
public ServiceCallInfo(java.lang.String reqname, MethodInfo servicemethod, FieldInfo callbackfield)
Create a new service call info.
-
-
Method Detail
-
getRequiredName
public java.lang.String getRequiredName()
Get the reqname.- Returns:
- The reqname
-
setRequiredName
public void setRequiredName(java.lang.String reqname)
The reqname to set.- Parameters:
reqname
- The reqname to set
-
getServiceMethod
public MethodInfo getServiceMethod()
Get the method.- Returns:
- The method
-
setServiceMethod
public void setServiceMethod(MethodInfo method)
The method to set.- Parameters:
method
- The method to set
-
getCallbackMethod
public MethodInfo getCallbackMethod()
Get the callback.- Returns:
- The callback
-
setCallbackMethod
public void setCallbackMethod(MethodInfo callback)
The callback to set.- Parameters:
callback
- The callback to set
-
getCallbackField
public FieldInfo getCallbackField()
Get the callbackfield.- Returns:
- The callbackfield
-
setCallbackField
public void setCallbackField(FieldInfo callbackfield)
The callbackfield to set.- Parameters:
callbackfield
- The callbackfield to set
-
-