All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.micro.tutorial.MainH1 Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.tutorial;

import jadex.base.Starter;
import jadex.bridge.IExternalAccess;
import jadex.commons.future.IFuture;

/**
 *  Main class for starting the chat
 *  from the command line.
 */
public class MainH1
{
	/**
	 *  Main method starts the platform
	 *  and creates a chat component.
	 */
	public static void main(String[] args)
	{
		// Start the platform with the arguments.
		IFuture	platfut	= Starter.createPlatform(args);
		
		// Wait until the platform has started and retrieve the platform access.
		IExternalAccess	platform	= platfut.get();
		System.out.println("Started platform: "+platform.getComponentIdentifier());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy