示例#1
0
 public override void OnRelease()
 {
     if (this.stSender != null)
     {
         this.stSender.Release();
         this.stSender = null;
     }
     if (this.stReceiver != null)
     {
         this.stReceiver.Release();
         this.stReceiver = null;
     }
     this.dwChgPosSeq  = 0;
     this.dwTimeOutSec = 0;
 }
示例#2
0
 public override void OnUse()
 {
     this.stSender   = (COMDT_ROOMMEMBER_BRIF)ProtocolObjectPool.Get(COMDT_ROOMMEMBER_BRIF.CLASS_ID);
     this.stReceiver = (COMDT_ROOMMEMBER_BRIF)ProtocolObjectPool.Get(COMDT_ROOMMEMBER_BRIF.CLASS_ID);
 }
示例#3
0
 public COMDT_CHGMEMBER_INFO()
 {
     this.stSender   = (COMDT_ROOMMEMBER_BRIF)ProtocolObjectPool.Get(COMDT_ROOMMEMBER_BRIF.CLASS_ID);
     this.stReceiver = (COMDT_ROOMMEMBER_BRIF)ProtocolObjectPool.Get(COMDT_ROOMMEMBER_BRIF.CLASS_ID);
 }