package com.mantz_it.guitartunerlibrary;

import android.preference.PreferenceManager;
import android.util.Log;



import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.concurrent.TimeUnit;

/**
 * <h1>Wear Guitar Tuner - Tuner WearableListenerService</h1>
 *
 * Module:      TunerWearableListenerService.java
 * Description: Service that implements callback methods of the Google Android
 * 				Wear Data Layer API.
 *
 * @author Dennis Mantz
 *
 * Copyright (C) 2014 Dennis Mantz
 * License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */


	/**
	 * Will be called from the Android System if a message was received.
	 * We will check the type of the message and handle it correctly:
	 * - if it is a get-log-message we collect the log data and send it back to the originator of the message
	 * - if it is a sync-preference-message we pass it to the handler method of the PreferenceSyncHelper
	 * @param messageEvent		the received message
	 */


