module AliMNS { export class Msg { public constructor ( msg , priority ? , delaySeconds ? ) { this . _msg = msg ; if ( ! isNaN ( priority ) ) this . _priority = priority ; if ( ! isNaN ( delaySeconds ) ) this . _delaySeconds = delaySeconds ; } public getMsg ( ) { return this . _msg ; } public getPriority ( ) { return this . _priority ; } public getDelaySeconds ( ) { return this . _delaySeconds ; } private _msg : string ; private _priority = 8 ; private _delaySeconds = 0 ; } }