public void SendSearchAllState() { string SocketNo = "20"; HeaderHandler.header headerHandler = new HeaderHandler.header(); if (CommonData.userSocket != null) { CommonData.userSocket.Send(headerHandler.HeadleDataSend(SocketNo, CommonData.userDomain.UserId)); } }
public void SendReMessage(string to_Id, string message) { string SocketNo = "06"; HeaderHandler.header headerHandler = new HeaderHandler.header(); if (CommonData.userSocket != null) { CommonData.userSocket.Send(headerHandler.HeadleDataSend(SocketNo, to_Id + CommonData.userDomain.UserId + message)); } }
public void SendStateChange(string state) { string SocketNo = "03"; HeaderHandler.header headerHandler = new HeaderHandler.header(); if (CommonData.userSocket != null) { CommonData.userSocket.Send(headerHandler.HeadleDataSend(SocketNo, CommonData.userDomain.UserId + state)); } }
public void SendSearchProf(string name) { string SocketNo = "04"; HeaderHandler.header headerHandler = new HeaderHandler.header(); if (CommonData.userSocket != null) { CommonData.userSocket.Send(headerHandler.HeadleDataSend(SocketNo, name)); } }
public void SendLogin() { string SocketNo = "01"; HeaderHandler.header headerHandler = new HeaderHandler.header(); if (CommonData.userSocket != null) { CommonData.userSocket.Send(headerHandler.HeadleDataSend(SocketNo, CommonData.userDomain.UserId + CommonData.userDomain.UserPasswd)); } }