Commit a7421da1 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Forgot to commit this file before.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@4649 b35dd754-fafc-0310-a699-88a17e54d16e
parent 028b54b4
/**
* $Revision$
* $Date$
*
* Copyright (C) 2006 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.wildfire.gateway;
/**
* An enumeration for different presence types.
*
* This is combined into a single variable, which is differnet than the
* typical situation of having to determine the status by looking at both
* the presence stanza's type and show fields.
*
* @author Daniel Henninger
*/
public enum PresenceType {
/**
* Available (aka online)
*/
available,
/**
* Away
*/
away,
/**
* XA (extended away)
*/
xa,
/**
* DND (do not disturb)
*/
dnd,
/**
* Chat (free to chat)
*/
chat,
/**
* Unavailable (offline)
*/
unavailable,
/**
* Unknown
*/
unknown
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment