Package jadex.requiredservice
Class ServiceCallEvent
java.lang.Object
jadex.requiredservice.ServiceCallEvent
Represents the events associated with service calls (call, response, etc.).
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
The event body (arguments, result, ...).protected jadex.core.ComponentIdentifier
The caller.protected jadex.common.MethodInfo
The method.protected jadex.providedservice.IServiceIdentifier
The service.protected ServiceCallEvent.Type
The event type. -
Constructor Summary
ConstructorsConstructorDescriptionBean constructor.ServiceCallEvent
(ServiceCallEvent.Type type, jadex.providedservice.IServiceIdentifier service, jadex.common.MethodInfo method, jadex.core.ComponentIdentifier caller, Object body) Instance constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
Get the body.jadex.core.ComponentIdentifier
Get the caller.jadex.common.MethodInfo
Get the method.jadex.providedservice.IServiceIdentifier
Get the service.getType()
Get the type.void
Set the body.void
setCaller
(jadex.core.ComponentIdentifier caller) Set the caller.void
setMethod
(jadex.common.MethodInfo method) Set the method.void
setService
(jadex.providedservice.IServiceIdentifier service) Set the service.void
setType
(ServiceCallEvent.Type type) Set the type.
-
Field Details
-
type
The event type. -
service
protected jadex.providedservice.IServiceIdentifier serviceThe service. -
method
protected jadex.common.MethodInfo methodThe method. -
caller
protected jadex.core.ComponentIdentifier callerThe caller. -
body
The event body (arguments, result, ...).
-
-
Constructor Details
-
ServiceCallEvent
public ServiceCallEvent()Bean constructor. -
ServiceCallEvent
public ServiceCallEvent(ServiceCallEvent.Type type, jadex.providedservice.IServiceIdentifier service, jadex.common.MethodInfo method, jadex.core.ComponentIdentifier caller, Object body) Instance constructor.
-
-
Method Details
-
getType
Get the type. -
setType
Set the type. -
getBody
Get the body. -
setBody
Set the body. -
getService
public jadex.providedservice.IServiceIdentifier getService()Get the service. -
setService
public void setService(jadex.providedservice.IServiceIdentifier service) Set the service. -
getMethod
public jadex.common.MethodInfo getMethod()Get the method. -
setMethod
public void setMethod(jadex.common.MethodInfo method) Set the method. -
getCaller
public jadex.core.ComponentIdentifier getCaller()Get the caller. -
setCaller
public void setCaller(jadex.core.ComponentIdentifier caller) Set the caller.
-