YGPS/src/com/mediatek/ygps/ClientSocket.java
public void endClient() {
        Log.v("@M_" + TAG, "enter endClient");
        mSendThread.interrupt();
        Log.v("@M_" + TAG, "Queue remaining:" + mCommandQueue.size());
        closeClient();
        mCallBack = null;
    }
/**
     * Finalise communicate with socket server.
     */
Finalise communicate with socket server.
Finalise communicate with socket server .
public void endClient() {
        Log.v("@M_" + TAG, "enter endClient");
        mSendThread.interrupt();
        Log.v("@M_" + TAG, "Queue remaining:" + mCommandQueue.size());
        closeClient();
        mCallBack = null;
    }
public void endClient ( ) { Log . v ( "@M_" + TAG , "enter endClient" ) ; mSendThread . interrupt ( ) ; Log . v ( "@M_" + TAG , "Queue remaining:" + mCommandQueue . size ( ) ) ; closeClient ( ) ; mCallBack = null ; }
Finalise communicate with socket server.
Finalise communicate with socket server .