Class RPQPInitiatorPlan


  • public class RPQPInitiatorPlan
    extends AbstractInitiatorPlan
    The fipa request and query plan performs the initiator side of the fipa-request/query protocol. The parameters have to be specified in the goal. The result of the request is stored in the goal.
    • Field Detail

      • STATUS_TIMEOUT

        protected static final java.lang.String STATUS_TIMEOUT
        The state indicating a timeout in this plan.
        See Also:
        Constant Field Values
      • request

        protected IMessageEvent request
        The request (must be saved because of conversation tracking).
    • Constructor Detail

      • RPQPInitiatorPlan

        public RPQPInitiatorPlan()
    • Method Detail

      • handleSecondAnswer

        protected void handleSecondAnswer​(IMessageEvent answer)
        Process the second answer.
      • requestFinished

        protected void requestFinished​(boolean success,
                                       java.lang.Object result)
        Method, that is being called, when the request has finished. Default implementation sets status and result on goal.
        Parameters:
        success - The final status of the df search.
        result - The result object.
      • getShortProtocolName

        protected java.lang.String getShortProtocolName()
        Get protocol abbrev name.
        Returns:
        The protocol abbrev name.