private void sendRequestToReplicaLeader(List <Object> pArguments)
	{
		Parameters.METHOD_CODE methodCode = (Parameters.METHOD_CODE)pArguments.get(0);
		if(methodCode == Parameters.METHOD_CODE.CREATE_ACCOUNT)
		{
			aLog.info("Sending request to replica leader for CREATE PLAYER ACCOUNT");
			try {	
				data = Parameters.FE_NAME + Parameters.UDP_PARSER +
						methodCode.name() + Parameters.UDP_PARSER +
						pArguments.get(1) + Parameters.UDP_PARSER +
						pArguments.get(2) + Parameters.UDP_PARSER +
						pArguments.get(3) + Parameters.UDP_PARSER +
						pArguments.get(4) + Parameters.UDP_PARSER +
						pArguments.get(5) + Parameters.UDP_PARSER +
						pArguments.get(6);
				message = data.getBytes();
				requestToReplicaLeader = new DatagramPacket(message, data.length(), host, Parameters.UDP_PORT_REPLICA_LEAD);
				sendSocket.send(requestToReplicaLeader);
			} catch (SocketException e) {
				aLog.info("SocketException : " + e.getMessage());
			} catch (IOException e) {
				aLog.info("IOException : " + e.getMessage());
			}
		}
		else if(methodCode == Parameters.METHOD_CODE.PLAYER_SIGN_IN)
		{
			aLog.info("Sending request to replica leader for PLAYER SIGN IN");
			try {	
				data = Parameters.FE_NAME + Parameters.UDP_PARSER +
						methodCode.name() + Parameters.UDP_PARSER +
						pArguments.get(1) + Parameters.UDP_PARSER +
						pArguments.get(2) + Parameters.UDP_PARSER +
						pArguments.get(3);
				message = data.getBytes();
				requestToReplicaLeader = new DatagramPacket(message, data.length(), host, Parameters.UDP_PORT_REPLICA_LEAD);
				sendSocket.send(requestToReplicaLeader);
			} catch (SocketException e) {
				aLog.info("SocketException : " + e.getMessage());
			} catch (IOException e) {
				aLog.info("IOException : " + e.getMessage());
			}
		}
		else if(methodCode == Parameters.METHOD_CODE.PLAYER_SIGN_OUT)
		{
			aLog.info("Sending request to replica leader for PLAYER SIGN OUT");
			try {	
				data = Parameters.FE_NAME + Parameters.UDP_PARSER +
						methodCode.name() + Parameters.UDP_PARSER +
						pArguments.get(1) + Parameters.UDP_PARSER +
						pArguments.get(2);
				message = data.getBytes();
				requestToReplicaLeader = new DatagramPacket(message, data.length(), host, Parameters.UDP_PORT_REPLICA_LEAD);
				sendSocket.send(requestToReplicaLeader);
			} catch (SocketException e) {
				aLog.info("SocketException : " + e.getMessage());
			} catch (IOException e) {
				aLog.info("IOException : " + e.getMessage());
			}
		}
		else if(methodCode == Parameters.METHOD_CODE.TRANSFER_ACCOUNT)
		{
			aLog.info("Sending request to replica leader for TRANSFER ACCOUNT");
			try {	
				data = Parameters.FE_NAME + Parameters.UDP_PARSER +
						methodCode.name() + Parameters.UDP_PARSER +
						pArguments.get(1) + Parameters.UDP_PARSER +
						pArguments.get(2) + Parameters.UDP_PARSER +
						pArguments.get(3) + Parameters.UDP_PARSER +
						pArguments.get(4);
				message = data.getBytes();
				requestToReplicaLeader = new DatagramPacket(message, data.length(), host, Parameters.UDP_PORT_REPLICA_LEAD);
				sendSocket.send(requestToReplicaLeader);
			} catch (SocketException e) {
				aLog.info("SocketException : " + e.getMessage());
			} catch (IOException e) {
				aLog.info("IOException : " + e.getMessage());
			}
		}
		else if(methodCode == Parameters.METHOD_CODE.GET_PLAYER_STATUS)
		{
			aLog.info("Sending request to replica leader for GET PLAYER STATUS");
			try {	
				data = Parameters.FE_NAME + Parameters.UDP_PARSER +
						methodCode.name() + Parameters.UDP_PARSER +
						pArguments.get(1) + Parameters.UDP_PARSER +
						pArguments.get(2) + Parameters.UDP_PARSER +
						pArguments.get(3);
				message = data.getBytes();
				requestToReplicaLeader = new DatagramPacket(message, data.length(), host, Parameters.UDP_PORT_REPLICA_LEAD);
				sendSocket.send(requestToReplicaLeader);
			} catch (SocketException e) {
				aLog.info("SocketException : " + e.getMessage());
			} catch (IOException e) {
				aLog.info("IOException : " + e.getMessage());
			}
		}
		else if(methodCode == Parameters.METHOD_CODE.SUSPEND_ACCOUNT)
		{
			aLog.info("Sending request to replica leader for SUSPEND ACCOUNT");
			try {	
				data = Parameters.FE_NAME + Parameters.UDP_PARSER +
						methodCode.name() + Parameters.UDP_PARSER +
						pArguments.get(1) + Parameters.UDP_PARSER +
						pArguments.get(2) + Parameters.UDP_PARSER +
						pArguments.get(3) + Parameters.UDP_PARSER +
						pArguments.get(4);
				message = data.getBytes();
				requestToReplicaLeader = new DatagramPacket(message, data.length(), host, Parameters.UDP_PORT_REPLICA_LEAD);
				sendSocket.send(requestToReplicaLeader);
			} catch (SocketException e) {
				aLog.info("SocketException : " + e.getMessage());
			} catch (IOException e) {
				aLog.info("IOException : " + e.getMessage());
			}
		}
		methodCode = null;
	}