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

jadex.micro.quiz.Main Maven / Gradle / Ivy

The newest version!
package jadex.micro.quiz;

import jadex.core.IComponent;

/**
 *  Main for starting the application.
 */
public class Main
{
	/**
	 *  Main method.
	 */
	public static void main(String[] args)
	{
		IComponent.create(new QuizMasterAgent());
		
		IComponent.create(new QuizClientAgent());
		
		IComponent.waitForLastComponentTerminated();
		
		/**IExternalAccess platform = Starter.createPlatform(PlatformConfigurationHandler.getDefaultNoGui()).get();
		platform.createComponent(new CreationInfo()
			.setFilenameClass(QuizMasterAgent.class)
			.addArgument("scope", ServiceScope.GLOBAL)).get();
		platform.createComponent(new CreationInfo()
			.setFilenameClass(QuizClientAgent.class)
			.addArgument("scope", ServiceScope.GLOBAL)).get();*/
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy