Class EventIntermediateMessageActivityHandler

    • Field Detail

      • PROPERTY_FILTER

        public static final java.lang.String PROPERTY_FILTER
        The filter property describes the filter for receiving a message.
        See Also:
        Constant Field Values
      • PROPERTY_MESSAGE

        public static final java.lang.String PROPERTY_MESSAGE
        The property message is the message object to be sent.
        See Also:
        Constant Field Values
      • PROPERTY_RECEIVER

        public static final java.lang.String PROPERTY_RECEIVER
        The property receiver is the cid of the intended receiver (may be null if set in message object, e.g. in FIPA messages).
        See Also:
        Constant Field Values
    • Constructor Detail

      • EventIntermediateMessageActivityHandler

        public EventIntermediateMessageActivityHandler()
    • Method Detail

      • getCid

        public IComponentIdentifier getCid​(java.lang.Object cid,
                                           IComponentIdentifier parent)
        Convert a string to component identifier
        Parameters:
        cid - The component identifier.
        Returns:
        parent The parent.
      • assembleMessage

        protected java.lang.Object assembleMessage​(jadex.bpmn.model.MActivity activity,
                                                   IInternalAccess instance,
                                                   ProcessThread thread)
        Returns:
      • sendMessage

        protected void sendMessage​(jadex.bpmn.model.MActivity activity,
                                   IInternalAccess instance,
                                   ProcessThread thread)
        Send a message.
        Parameters:
        activity - The activity to execute.
        instance - The process instance.
        thread - The process thread.
      • receiveMessage

        protected void receiveMessage​(jadex.bpmn.model.MActivity activity,
                                      IInternalAccess instance,
                                      ProcessThread thread)
        Receive a message.
        Parameters:
        activity - The activity to execute.
        instance - The process instance.
        thread - The process thread.