Jadex 0.96

jadex.testcases.events
Agent MessageForward

jadex.testcases.events.MessageForward
  • jadex.planlib.AMS
  • jadex.planlib.Test

  • agent MessageForward
    contains jadex.planlib.AMS, jadex.planlib.Test


    Agent arguments: timeout
    timeout long
    , testcenter
    testcenter AgentIdentifier

    Receive a message event and forward it to another agent.


    Belief Summary
    beliefsetref reports
              
    beliefref int testcase_cnt
              
    exported beliefref AgentIdentifier testcenter
              
    exported beliefref long timeout
              
     
    Goal Summary
    achievegoalref ams_create_agent
              
    achievegoalref ams_destroy_agent
              
     
    Plan Summary
    standard plan messageforward()
              
     
    Event Summary
    messageevent just_born(String content, String performative, AgentIdentifier [set] receivers)
              
     
    Configuration Summary
    configuration  receiver
              
    default configuration  sender
              
     

    Belief Detail

    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

    ams_create_agent

    achievegoalref ams_create_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    parameterref arguments
    parameterref configuration
    parameterref name
    parameterref start
    parameterref type
    Referenced from:
    ams_create_agent in capability jadex.planlib.AMS

    ams_destroy_agent

    achievegoalref ams_destroy_agent
    Parameters:
    parameterref agentidentifier
    parameterref ams
    Referenced from:
    ams_destroy_agent in capability jadex.planlib.AMS
    Plan Detail

    messageforward

    standard plan messageforward()
    Plan body:
    Plan trigger:
    Message events:
    just_born
    Event Detail

    just_born

    messageevent just_born(String content, 
                           String performative, 
                           AgentIdentifier [set] receivers)
    Parameters:
    in parameter content Default value:  "Born message"
    fixed parameter performative Default value:  SFipa.INFORM
    inout parameterset receivers Default values:   $agent.getAgentIdentifier()
    Event flags:
    direction: send_receive
    message type: fipa
    random selection: false
    post to all: false
    Configuration Detail

    sender

    default configuration sender
    Initial Beliefs:
    testcase_cnt Initial value:  1
    Initial Message Events:
    just_born

    receiver

    configuration receiver
    Initial Capabilities:
    jadex.planlib.Test Configuration  off

    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.