public Telegram buildTelegram(){
		if(type.equals(SocketTest.Tele_Stat)||type.equals(SocketTest.Tele_Sysr)){
			Telegram_STAT t = new Telegram_STAT(send, empf, cp, hndshk, numb, error, type, source, dest, mfs_error, cs, csgr, rsrc);
			return t;
		}
		else if(type.equals(SocketTest.Tele_Wt)||type.equals(SocketTest.Tele_Wtco)||type.equals(SocketTest.Tele_Wtcc)||type.equals(SocketTest.Tele_Sp)){
			Telegram_WT t = new Telegram_WT(send, empf, cp, hndshk, numb, error, type, huid, hutype, source, dest, mfs_error);
			return t;
		}
		else if(type.equals("")){
			//Throw exception
			return null;
		}
		else{
			Telegram t = new Telegram(send, empf, cp, hndshk, numb, error, type, mfs_error);
			return t;
		}
	}