Package jadex.bridge.service.component
Class ServiceCallEvent
- java.lang.Object
-
- jadex.bridge.service.component.ServiceCallEvent
-
public class ServiceCallEvent extends java.lang.Object
Represents the events associated with service calls (call, response, etc.).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceCallEvent.Type
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
body
The event body (arguments, result, ...).protected IComponentIdentifier
caller
The caller.protected MethodInfo
method
The method.protected IServiceIdentifier
service
The service.protected ServiceCallEvent.Type
type
The 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.Object
getBody()
Get the body.IComponentIdentifier
getCaller()
Get the caller.MethodInfo
getMethod()
Get the method.IServiceIdentifier
getService()
Get the service.ServiceCallEvent.Type
getType()
Get the type.void
setBody(java.lang.Object body)
Set the body.void
setCaller(IComponentIdentifier caller)
Set the caller.void
setMethod(MethodInfo method)
Set the method.void
setService(IServiceIdentifier service)
Set the service.void
setType(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.
-
-