Exemple #1
0
 private void addCustomSerializeFinally()
 {
     customSerializeOutput = null;
 }
Exemple #2
0
 private void addCustomSerialize(Func <AutoCSer.Net.TcpServer.ReturnValue <ServerCustomSerialize>, bool> onCustomSerialize)
 {
     customSerializeOutput = new ServerCustomSerializeOutput(onCustomSerialize);
 }
 /// <summary>
 /// 计算回调测试
 /// </summary>
 /// <param name="onCustomSerialize"></param>
 /// <returns></returns>
 public AutoCSer.Net.TcpServer.KeepCallback AddCustomSerialize(Func <AutoCSer.Net.TcpServer.ReturnValue <ServerCustomSerialize>, bool> onCustomSerialize)
 {
     customSerializeOutput = new ServerCustomSerializeOutput(onCustomSerialize);
     return(null);
 }
 /// <summary>
 /// 计算测试结束
 /// </summary>
 public void AddCustomSerializeFinally()
 {
     customSerializeOutput = null;
 }
Exemple #5
0
 private void addCustomSerialize(AutoCSer.Net.TcpServer.ServerCallback <ServerCustomSerialize> onCustomSerialize)
 {
     customSerializeOutput = new ServerCustomSerializeOutput(onCustomSerialize);
 }