export interface ICDNData { id : string ; packet : any ; } export class CDNData implements ICDNData { id : string ; packet : any ; constructor ( id , packet ) { this . id = id ; this . packet = packet ; } }