Package jadex.bridge.service.component
Class ServiceCallEvent
- java.lang.Object
-
- jadex.bridge.service.component.ServiceCallEvent
-
public class ServiceCallEvent extends java.lang.ObjectRepresents the events associated with service calls (call, response, etc.).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceCallEvent.Type
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjectbodyThe event body (arguments, result, ...).protected IComponentIdentifiercallerThe caller.protected MethodInfomethodThe method.protected IServiceIdentifierserviceThe service.protected ServiceCallEvent.TypetypeThe event type.
-
Constructor Summary
Constructors Constructor Description ServiceCallEvent()Bean constructor.ServiceCallEvent(ServiceCallEvent.Type type, IServiceIdentifier service, MethodInfo method, IComponentIdentifier caller, java.lang.Object body)Instance constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetBody()Get the body.IComponentIdentifiergetCaller()Get the caller.MethodInfogetMethod()Get the method.IServiceIdentifiergetService()Get the service.ServiceCallEvent.TypegetType()Get the type.voidsetBody(java.lang.Object body)Set the body.voidsetCaller(IComponentIdentifier caller)Set the caller.voidsetMethod(MethodInfo method)Set the method.voidsetService(IServiceIdentifier service)Set the service.voidsetType(ServiceCallEvent.Type type)Set the type.
-
-
-
Field Detail
-
type
protected ServiceCallEvent.Type type
The event type.
-
service
protected IServiceIdentifier service
The service.
-
method
protected MethodInfo method
The method.
-
caller
protected IComponentIdentifier caller
The caller.
-
body
protected java.lang.Object body
The event body (arguments, result, ...).
-
-
Constructor Detail
-
ServiceCallEvent
public ServiceCallEvent()
Bean constructor.
-
ServiceCallEvent
public ServiceCallEvent(ServiceCallEvent.Type type, IServiceIdentifier service, MethodInfo method, IComponentIdentifier caller, java.lang.Object body)
Instance constructor.
-
-
Method Detail
-
getType
public ServiceCallEvent.Type getType()
Get the type.
-
setType
public void setType(ServiceCallEvent.Type type)
Set the type.
-
getBody
public java.lang.Object getBody()
Get the body.
-
setBody
public void setBody(java.lang.Object body)
Set the body.
-
getService
public IServiceIdentifier getService()
Get the service.
-
setService
public void setService(IServiceIdentifier service)
Set the service.
-
getMethod
public MethodInfo getMethod()
Get the method.
-
setMethod
public void setMethod(MethodInfo method)
Set the method.
-
getCaller
public IComponentIdentifier getCaller()
Get the caller.
-
setCaller
public void setCaller(IComponentIdentifier caller)
Set the caller.
-
-