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 ObjectThe event body (arguments, result, ...).protected jadex.core.ComponentIdentifierThe caller.protected jadex.common.MethodInfoThe method.protected jadex.providedservice.IServiceIdentifierThe service.protected ServiceCallEvent.TypeThe 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.ComponentIdentifierGet the caller.jadex.common.MethodInfoGet the method.jadex.providedservice.IServiceIdentifierGet the service.getType()Get the type.voidSet the body.voidsetCaller(jadex.core.ComponentIdentifier caller) Set the caller.voidsetMethod(jadex.common.MethodInfo method) Set the method.voidsetService(jadex.providedservice.IServiceIdentifier service) Set the service.voidsetType(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.
-