Class ServiceCallEvent

java.lang.Object
jadex.requiredservice.ServiceCallEvent

public class ServiceCallEvent extends Object
Represents the events associated with service calls (call, response, etc.).
  • Field Details

    • type

      protected ServiceCallEvent.Type type
      The event type.
    • service

      protected jadex.providedservice.IServiceIdentifier service
      The service.
    • method

      protected jadex.common.MethodInfo method
      The method.
    • caller

      protected jadex.core.ComponentIdentifier caller
      The caller.
    • body

      protected Object 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

      public ServiceCallEvent.Type getType()
      Get the type.
    • setType

      public void setType(ServiceCallEvent.Type type)
      Set the type.
    • getBody

      public Object getBody()
      Get the body.
    • setBody

      public void setBody(Object body)
      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.