es.upm.dit.gsi.beast.mock
Class MockManager

java.lang.Object
  extended by es.upm.dit.gsi.beast.mock.MockManager

public class MockManager
extends Object

Project: beast File: es.upm.dit.gsi.beast.mock.MockManager.java This class creates mock agents on the Scenario Grupo de Sistemas Inteligentes Departamento de Ingeniería de Sistemas Telemáticos Universidad Politécnica de Madrid (UPM)

Version:
0.1
Author:
alvarocarrera

Constructor Summary
MockManager()
           
 
Method Summary
static void startMockJadeAgent(String agent_name, String agent_path, MockConfiguration configuration, BeastTestCase story)
           
static void startMockJadexAgent(String agent_name, String agent_path, MockConfiguration configuration, BeastTestCase story)
          This method is used to launch mock agents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockManager

public MockManager()
Method Detail

startMockJadexAgent

public static void startMockJadexAgent(String agent_name,
                                       String agent_path,
                                       MockConfiguration configuration,
                                       BeastTestCase story)
This method is used to launch mock agents. First it creates them, with the generic df_service_name \"mock_agent\", and then the method sends to the agent a message with the new df_service_name and its behaviour.

Parameters:
agent_name - The name of the mock agent
agent_path - The path of the agent, described in mocks/jadex/common/Definitions file
configuration - Where the new df_service_name and the agents behaviour is saved
scenario - The Scenario of the Test

startMockJadeAgent

public static void startMockJadeAgent(String agent_name,
                                      String agent_path,
                                      MockConfiguration configuration,
                                      BeastTestCase story)


Copyright © 2014 Grupo de Sistemas Inteligentes - Universidad Politécnica de Madrid. All Rights Reserved.