Exemplo n.º 1
0
 public NettyBody(NettyCodeEnum codeEnum, string reqId)
 {
     this.code  = (int)codeEnum;
     this.msg   = codeEnum.ToString();
     this.reqId = reqId;
     this.time  = UtilHelper.GetCurrentTimeStamp();
 }
Exemplo n.º 2
0
 public NettyBody(NettyCodeEnum codeEnum)
 {
     this.code  = (int)codeEnum;
     this.msg   = codeEnum.ToString();
     this.reqId = Guid.NewGuid().ToString();
     this.time  = UtilHelper.GetCurrentTimeStamp();
 }