aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/otr/ScSessionStatus.java
blob: 6151db5c05f1002e4f125c2ec04b4cf32bd77e9f (plain)
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
/*
 * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.plugin.otr;

/**
 * Extends otr4j's <tt>SessionStatus</tt> with two additional states.
 * 
 * @author Marin Dzhigarov
 */
public enum ScSessionStatus
{
    PLAINTEXT,
    ENCRYPTED,
    FINISHED,
    /*
     * A Session transitions in LOADING state right before
     * Session.startSession() is invoked.
     */
    LOADING, 
    /*
     * A Session transitions in TIMED_OUT state after being in LOADING state for
     * a long period of time.
     */
    TIMED_OUT
}