Exemplo n.º 1
0
 public override void OnRelease()
 {
     if (this.stWealList != null)
     {
         this.stWealList.Release();
         this.stWealList = null;
     }
     if (this.stWealConData != null)
     {
         this.stWealConData.Release();
         this.stWealConData = null;
     }
     if (this.stWealPointData != null)
     {
         this.stWealPointData.Release();
         this.stWealPointData = null;
     }
 }
Exemplo n.º 2
0
 public override void OnUse()
 {
     this.stWealList      = (COMDT_WEAL_LIST)ProtocolObjectPool.Get(COMDT_WEAL_LIST.CLASS_ID);
     this.stWealConData   = (COMDT_WEAL_CON_DATA)ProtocolObjectPool.Get(COMDT_WEAL_CON_DATA.CLASS_ID);
     this.stWealPointData = (COMDT_WEAL_POINT_DATA)ProtocolObjectPool.Get(COMDT_WEAL_POINT_DATA.CLASS_ID);
 }
 public SCPKG_WEAL_DATA_NTF()
 {
     this.stWealList      = (COMDT_WEAL_LIST)ProtocolObjectPool.Get(COMDT_WEAL_LIST.CLASS_ID);
     this.stWealConData   = (COMDT_WEAL_CON_DATA)ProtocolObjectPool.Get(COMDT_WEAL_CON_DATA.CLASS_ID);
     this.stWealPointData = (COMDT_WEAL_POINT_DATA)ProtocolObjectPool.Get(COMDT_WEAL_POINT_DATA.CLASS_ID);
 }