aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0166_jingle/reason_element.vala
blob: 4d47d4cd195dec04fd929228b17c578c4c066d49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Gee;
using Xmpp;

namespace  Xmpp.Xep.Jingle.ReasonElement {
    public const string ALTERNATIVE_SESSION = "alternative-session";
    public const string BUSY = "busy";
    public const string CANCEL = "cancel";
    public const string CONNECTIVITY_ERROR = "connectivity-error";
    public const string DECLINE = "decline";
    public const string EXPIRED = "expired";
    public const string FAILED_APPLICATION = "failed_application";
    public const string FAILED_TRANSPORT = "failed_transport";
    public const string GENERAL_ERROR = "general-error";
    public const string GONE = "gone";
    public const string INCOMPATIBLE_PARAMETERS = "incompatible-parameters";
    public const string MEDIA_ERROR = "media-error";
    public const string SECURITY_ERROR = "security-error";
    public const string SUCCESS = "success";
    public const string TIMEOUT = "timeout";
    public const string UNSUPPORTED_APPLICATIONS = "unsupported-applications";
    public const string UNSUPPORTED_TRANSPORTS = "unsupported-transports";

    public const string[] NORMAL_TERMINATE_REASONS = {
        BUSY,
        CANCEL,
        DECLINE,
        GONE,
        SUCCESS
    };
}