import {IMessageEvent} from "../../../../../api";
import {MessageEvent} from "../../../../../events";
import {HotelClosedAndOpensMessageParser} from "../../parser";

export class HotelClosedAndOpensEvent extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, HotelClosedAndOpensMessageParser);
  }

  public getParser(): HotelClosedAndOpensMessageParser {
    return this.parser as HotelClosedAndOpensMessageParser;
  }
}
