// Path: AutoSIM-Environments/src/com/automatski/autosim/environments/IConnection.java
// public interface IConnection {
// 
// 	public void setConfig(Object object);
// 	
// 	
// 	public void connect() throws Exception;
// 	public void disconnect() throws Exception;
// 	
// 	public void setListener(IConnectionListener listener);
// 	public Object send(Object object) throws Exception;
// 	
// }
// 
// Path: AutoSIM-Environments/src/com/automatski/autosim/environments/IConnectionFactory.java
// public interface IConnectionFactory {
// 
// 	public IConnection getConnection();
// 	
// }
// 
// Path: AutoSIM-MQTT/src/com/automatski/autosim/mqtt/config/AutoSIMConnectionConfig.java
// public class AutoSIMConnectionConfig {
// 
// 	public String name;
// 	public String url;
// 	public String username;
// 	public String password;
// 	
// 	public String connectorClassName;
// }


import com.automatski.autosim.environments.IConnection;
import com.automatski.autosim.environments.IConnectionFactory;
import com.automatski.autosim.mqtt.config.AutoSIMConnectionConfig;
package com.automatski.autosim.mqtt;


public class MQTTConnectionFactory implements IConnectionFactory{

	private AutoSIMConnectionConfig connectionConfig = null;
	
	public MQTTConnectionFactory(AutoSIMConnectionConfig connectionConfig){
		this.connectionConfig = connectionConfig;
	}
	
	@Override
// Path: AutoSIM-Environments/src/com/automatski/autosim/environments/IConnection.java
// public interface IConnection {
// 
// 	public void setConfig(Object object);
// 	
// 	
// 	public void connect() throws Exception;
// 	public void disconnect() throws Exception;
// 	
// 	public void setListener(IConnectionListener listener);
// 	public Object send(Object object) throws Exception;
// 	
// }
// 
// Path: AutoSIM-Environments/src/com/automatski/autosim/environments/IConnectionFactory.java
// public interface IConnectionFactory {
// 
// 	public IConnection getConnection();
// 	
// }
// 
// Path: AutoSIM-MQTT/src/com/automatski/autosim/mqtt/config/AutoSIMConnectionConfig.java
// public class AutoSIMConnectionConfig {
// 
// 	public String name;
// 	public String url;
// 	public String username;
// 	public String password;
// 	
// 	public String connectorClassName;
// }


// Path: AutoSIM-MQTT/src/com/automatski/autosim/mqtt/MQTTConnectionFactory.java
import com.automatski.autosim.environments.IConnection;
import com.automatski.autosim.environments.IConnectionFactory;
import com.automatski.autosim.mqtt.config.AutoSIMConnectionConfig;

package com.automatski.autosim.mqtt;


public class MQTTConnectionFactory implements IConnectionFactory{

	private AutoSIMConnectionConfig connectionConfig = null;
	
	public MQTTConnectionFactory(AutoSIMConnectionConfig connectionConfig){
		this.connectionConfig = connectionConfig;
	}
	
	@Override
	public IConnection getConnection() {