Interface IMatchHandler

interface IMatchHandler {
    disconnect(reason: DisconnectReason): void;
    joined(context: IMatchContext): void;
    matchEnded(context: IMatchContext, evt: MatchEndEvent): void;
    matchStarted(context: IMatchContext, evt: MatchStartEvent): void;
    presenceJoined(context: IMatchContext, user: MatchUserState): void;
    presenceLeft(context: IMatchContext, user: MatchUserState): void;
}

Methods