// Path: clients/java/src/com/example/tool/Log.java
// public class Log {
// 
// 	public static void d(String tag, String info) {
// 		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// 		System.out.println("[" + df.format(new Date()) + "]" + tag + " : " + info);
// 	}
// 
// 	public static void e(String tag, String info) {
// 		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// 		System.out.println("[" + df.format(new Date()) + "]" +  "* ERROR * : " + info);
// 	}
// }


import java.nio.ByteBuffer;
import com.avcon.msg.Ack;
import com.avcon.msg.Header;
import com.avcon.msg.MsgDefine;
import com.avcon.msg.MsgHandshake;
import com.avcon.msg.MsgHelper;
import com.avcon.tool.Log;

package com.exmaple.network;



public class Tester implements ConnectionDelegate {

	private Connection cnn = null;

	@Override
	public void onConnected(Connection cnn) {

// Path: clients/java/src/com/example/tool/Log.java
// public class Log {
// 
// 	public static void d(String tag, String info) {
// 		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// 		System.out.println("[" + df.format(new Date()) + "]" + tag + " : " + info);
// 	}
// 
// 	public static void e(String tag, String info) {
// 		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// 		System.out.println("[" + df.format(new Date()) + "]" +  "* ERROR * : " + info);
// 	}
// }


// Path: clients/java/src/com/example/network/Tester.java
import java.nio.ByteBuffer;
import com.avcon.msg.Ack;
import com.avcon.msg.Header;
import com.avcon.msg.MsgDefine;
import com.avcon.msg.MsgHandshake;
import com.avcon.msg.MsgHelper;
import com.avcon.tool.Log;

package com.exmaple.network;



public class Tester implements ConnectionDelegate {

	private Connection cnn = null;

	@Override
	public void onConnected(Connection cnn) {

		Log.d("Tester", "onConnected");
