public void SendCompleted(IServer server, ChannelSendEventArgs e) { }
/// <summary> /// 消息发送成功后触发事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void Server_ChannelSent(object sender, ChannelSendEventArgs e) { //TODO }
public void SendCompleted(IServer server, ChannelSendEventArgs e) { Debug.WriteLine("ServerHandler Client SendCompleted: {0}, Time: {1}", e.Data.Count, DateTime.Now); Interlocked.Increment(ref sendTimes); }