Esempio n. 1
0
 void AsysnCoonectCallBack(bool sucess, NetSocket.ErrorSocket tmpError, string exception)
 {
     Debug.LogError("---AsysnCoonectCallBack---- sucess = " + sucess);
     if (sucess)
     {
         sendThread = new Thread(LoopSendMsg);
         sendThread.Start();
     }
 }
Esempio n. 2
0
 void CallBackSend(bool sucess, NetSocket.ErrorSocket tmpError, string exception)
 {
     // Debug.LogError("---CallBackSend---- sucess = "+ sucess+ ",tmpError = "+ tmpError+ ",exception ="+ exception);
     if (sucess)
     {
     }
     else
     {
     }
 }
Esempio n. 3
0
 void CallBackDisconnect(bool sucess, NetSocket.ErrorSocket tmpError, string exception)
 {
     if (sucess)
     {
         sendThread.Abort();
     }
     else
     {
     }
 }
Esempio n. 4
0
 void AsysnReciveCallBack(bool sucess, NetSocket.ErrorSocket error, string exception, byte[] byteMessage, string strMessage)
 {
     Debug.LogError("---AsysnReciveCallBack---- sucess = " + sucess + ",exception = " + exception + ",strMessage = " + strMessage);
     if (sucess)
     {
         PutRecvMsgToPool(byteMessage);
     }
     else
     {
     }
 }
Esempio n. 5
0
    private void SendCallBack(bool isSuccess, NetSocket.ErrorSocket error, string expection)
    {
        if (!isSuccess)
        {
            m_callBackSend(isSuccess, error, expection);
        }



        //Debug.Log("send =="+error + expection);
        //Debug.Log(isSuccess);
    }
Esempio n. 6
0
 private void ConnectCallBack(bool isSuccess, NetSocket.ErrorSocket error, string expection)
 {
     if (isSuccess)
     {
         sendThread = new Thread(LoopSending);
         sendThread.Start();
     }
     else
     {
         this.m_callBackConnect(isSuccess, error, expection);
     }
 }
Esempio n. 7
0
    private void ReceiveCallBack(bool isSuccess, NetSocket.ErrorSocket error, string expection, byte[] byteData, string strMsg)
    {
        if (isSuccess)
        {
            ReceiveMsgToNetMsg(byteData);
        }
        else
        {
            //  Debug.Log(error + expection);
            m_callBackReceive(isSuccess, error, expection, byteData, strMsg);
        }

        // Debug.Log(error + expection);
    }
Esempio n. 8
0
    private void DisConnectCallBack(bool isSuccess, NetSocket.ErrorSocket error, string expection)
    {
        if (isSuccess)
        {
            sendThread.Abort();
        }
        else
        {
            this.m_callBackDisConnect(isSuccess, error, expection);
            //Debug.Log(error + expection);
        }

        //  Debug.Log(error + expection);
    }
Esempio n. 9
0
 public void CallBackRecv(bool sucess, NetSocket.ErrorSocket error, string exception, byte[] byteMessage, string strMessag)
 {
 }
Esempio n. 10
0
 public void DisConnectCallBack(bool sucess, NetSocket.ErrorSocket error, string exception)
 {
 }
Esempio n. 11
0
 public void SendCallBack(bool sucess, NetSocket.ErrorSocket error, string exception)
 {
     ///
 }