package com.qonect.protocols.mqtt.impl;

import com.qonect.protocols.mqtt.interfaces.IMqttConnectOptions;

public class MqttConnectOptions implements IMqttConnectOptions
{
	@Override
	public void setCleanSession(boolean cleanStart)
	{
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setKeepAliveInterval(short keepAliveSeconds)
	{
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setUserName(String username)
	{
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setPassword(char[] password)
	{
		// TODO Auto-generated method stub
		
	}

	@Override
	public boolean getCleanSession()
	{
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int getKeepAliveInterval()
	{
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String getUserName()
	{
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public char[] getPassword()
	{
		// TODO Auto-generated method stub
		return null;
	}
}

@@ -165,16 +165,63 @@
 tions%0A%7B%0A
+%09//isCleanSession%0A%09private boolean isClean ;%0A%09%0A
 %09@Overri
@@ -281,42 +281,30 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub
+isClean = cleanStart ;
 %0A%09%09%0A
@@ -677,42 +677,8 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub
 %0A%09%09r
@@ -687,13 +687,15 @@
 urn 
-false
+isClean
 ;%0A%09%7D

fix when setCleanSession(true) is invalided