void AsysnCoonectCallBack(bool sucess, NetSocket.ErrorSocket tmpError, string exception) { Debug.LogError("---AsysnCoonectCallBack---- sucess = " + sucess); if (sucess) { sendThread = new Thread(LoopSendMsg); sendThread.Start(); } }
void CallBackSend(bool sucess, NetSocket.ErrorSocket tmpError, string exception) { // Debug.LogError("---CallBackSend---- sucess = "+ sucess+ ",tmpError = "+ tmpError+ ",exception ="+ exception); if (sucess) { } else { } }
void CallBackDisconnect(bool sucess, NetSocket.ErrorSocket tmpError, string exception) { if (sucess) { sendThread.Abort(); } else { } }
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 { } }
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); }
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); } }
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); }
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); }
public void CallBackRecv(bool sucess, NetSocket.ErrorSocket error, string exception, byte[] byteMessage, string strMessag) { }
public void DisConnectCallBack(bool sucess, NetSocket.ErrorSocket error, string exception) { }
public void SendCallBack(bool sucess, NetSocket.ErrorSocket error, string exception) { /// }