Jadex 0.941

jadex.testcases.misc
Agent WaitFor

jadex.testcases.misc.WaitFor
  • jadex.planlib.Ping

  • agent WaitFor
    contains jadex.planlib.Ping

    Agent for testing various waitFor methods.

    The agent has an initial plan which tests waitFor() from a plan. The agent opens a gui and waits for a click to test waitFor() from an external thread.


    Belief Summary
    belief WaitForGui gui
              
    belief long time
              
     
    Goal Summary
    achievegoal test()
              
     
    Plan Summary
    standard plan result_plan()
              
    standard plan waitfor_plan()
              
     
    Event Summary
    messageeventref inform_alive
              
    messageeventref query_ping
              
     
    Initial State Summary
    default initial state  default
              
     

    Belief Detail

    gui

    belief WaitForGui gui
    Default fact:
    new WaitForGui($agent.getExternalAccess())

    time

    belief long time
    Update rate:
    1000 ms
    Default fact: (dynamic)
    System.currentTimeMillis()
    Goal Detail

    test

    achievegoal test()
    BDI flags:
    retry: true
    retry delay: 0
    exclude: when_tried
    random selection: false
    meta-level reasoning: true
    post to all: false
    Plan Detail

    waitfor_plan

    standard plan waitfor_plan()
    Plan body:
    new WaitForPlan()

    result_plan

    standard plan result_plan()
    Plan body:
    new ResultPlan(3000, true)
    Goal Trigger:
    test
    Event Detail

    query_ping

    messageeventref query_ping
    Parameters:
    parameterref action-class
    parameterref content
    parameterref content-class
    parameterref content-start
    parameterref conversation-id
    parameterref encoding
    parameterref in-reply-to
    parameterref language
    parameterref ontology
    parameterref performative
    parameterref protocol
    parameterref reply-by
    parameterref reply-to
    parameterref reply-with
    parameterref sender
    parameterset receivers
    Referenced from:
    query_ping in capability jadex.planlib.Ping

    inform_alive

    messageeventref inform_alive
    Parameters:
    parameterref action-class
    parameterref content
    parameterref content-class
    parameterref content-start
    parameterref conversation-id
    parameterref encoding
    parameterref in-reply-to
    parameterref language
    parameterref ontology
    parameterref performative
    parameterref protocol
    parameterref reply-by
    parameterref reply-to
    parameterref reply-with
    parameterref sender
    parameterset receivers
    Referenced from:
    inform_alive in capability jadex.planlib.Ping
    Initial State Detail

    default

    default initial state default
    Initial Plans:
    waitfor_plan

    Jadex 0.941

    Submit a bug or feature
    For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

    Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.