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; }
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); }
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); }