import { Entity } from './hcEntity'; abstract class HcSession { //#region Properties (Fields) private _entitiesInfo : any[]; //#endregion //#region Methods constructor () { this._entitiesInfo = []; } abstract connect( url : string, success? : () => void, error ? : (err) => void ) : void; protected addEntityInfo(entityInfo : any) : void { this.entitiesInfo.push(entityInfo); } //#endregion //#region Accessors (Properties) get entitiesInfo () : any[] { return this._entitiesInfo; } //#endregion } export { HcSession }