class QoSControlConnection extends AbstractRMBTTest implements Runnable {

	public void connect() throws Exception {
		isRunning.set(true);
		try {
			controlSocket = connect(null, InetAddress.getByName(params.getHost()), params.getPort(), 
				AbstractQoSTask.QOS_SERVER_PROTOCOL_VERSION, "ACCEPT", params.isEncryption(), AbstractQoSTask.CONTROL_CONNECTION_TIMEOUT);
		    if (controlSocket == null) {
		        isRunning.set(false);
		        couldNotConnect.set(true);
            }
		}
		catch (Exception e) {
			isRunning.set(false);
			couldNotConnect.set(true);
			throw e;
		}
	}

	public  QoSControlConnection(RMBTClient client, RMBTTestParameter params);

}