Jadex 0.96

jadex.testcases.misc
Agent WaitFor

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

  • agent WaitFor
    contains jadex.planlib.Ping, jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Agent for testing various waitFor methods.

    The agent has an initial plan which tests waitFor() from a plan. Tests also waitFor() from external thread.


    Belief Summary
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    belief long time
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoal test()
              
     
    Plan Summary
    standard plan result_plan()
              
    standard plan waitfor_plan()
              
     
    Event Summary
    messageeventref default_query_ping
               todo: should use ping goal instead.
    messageeventref inform_alive
              
     
    Configuration Summary
    default configuration  default
              
     

    Belief Detail

    time

    belief long time
    Update rate:
    100 ms
    Default fact: (dynamic)
    System.currentTimeMillis()

    testcase_cnt

    beliefref int testcase_cnt
    Default fact:
    1
    Referenced from:
    testcase_cnt in capability jadex.planlib.Test

    timeout

    exported beliefref long timeout
    Default fact:
    0
    Referenced from:
    timeout in capability jadex.planlib.Test

    testcenter

    exported beliefref AgentIdentifier testcenter
    Referenced from:
    testcenter in capability jadex.planlib.Test

    reports

    beliefsetref  reports
    Referenced from:
    reports in capability jadex.planlib.Test
    Goal Detail

    test

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

    waitfor_plan

    standard plan waitfor_plan()
    Plan body:

    result_plan

    standard plan result_plan()
    Plan body:
    new ResultPlan(-1, true)
    Plan trigger:
    Goals:
    test
    Event Detail

    default_query_ping

    messageeventref default_query_ping
    todo: should use ping goal instead.

    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:
    default_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
    Configuration Detail

    default

    default configuration default
    Initial Beliefs:
    testcase_cnt Initial value:  14
    Initial Plans:
    waitfor_plan

    Jadex 0.96

    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-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.