Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.zeroconf
Class ZeroconfStatusEnum

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.PresenceStatus
      extended by net.java.sip.communicator.impl.protocol.zeroconf.ZeroconfStatusEnum
All Implemented Interfaces:
Comparable<PresenceStatus>

public class ZeroconfStatusEnum
extends PresenceStatus

An implementation of PresenceStatus that enumerates all states that a Zeroconf contact can fall into.

Author:
Christian Vincenot, Jonathan Martin

Field Summary
static ZeroconfStatusEnum DO_NOT_DISTURB
          The DND status.
static ZeroconfStatusEnum INVISIBLE
          The Invisible status.
static ZeroconfStatusEnum OFFLINE
          Indicates an Offline status or status with 0 connectivity.
static ZeroconfStatusEnum ONLINE
          The Online status.
 
Fields inherited from class net.java.sip.communicator.service.protocol.PresenceStatus
AVAILABLE_THRESHOLD, AWAY_THRESHOLD, EAGER_TO_COMMUNICATE_THRESHOLD, MAX_STATUS_VALUE, ONLINE_THRESHOLD, status, statusIcon, statusName
 
Method Summary
(package private) static ZeroconfStatusEnum statusOf(String status)
           
(package private) static Iterator<PresenceStatus> supportedStatusSet()
          Returns an iterator over all status instances supproted by the zeroconf provider.
 
Methods inherited from class net.java.sip.communicator.service.protocol.PresenceStatus
compareTo, equals, getStatus, getStatusIcon, getStatusName, hashCode, isAvailable, isEagerToCommunicate, isOnline, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OFFLINE

public static final ZeroconfStatusEnum OFFLINE
Indicates an Offline status or status with 0 connectivity.


DO_NOT_DISTURB

public static final ZeroconfStatusEnum DO_NOT_DISTURB
The DND status. Indicates that the user has connectivity but prefers not to be contacted.


INVISIBLE

public static final ZeroconfStatusEnum INVISIBLE
The Invisible status. Indicates that the user has connectivity even though it may appear otherwise to others, to whom she would appear to be offline.


ONLINE

public static final ZeroconfStatusEnum ONLINE
The Online status. Indicate that the user is able and willing to communicate.

Method Detail

supportedStatusSet

static Iterator<PresenceStatus> supportedStatusSet()
Returns an iterator over all status instances supproted by the zeroconf provider.

Returns:
an Iterator over all status instances supported by the zeroconf provider.

statusOf

static ZeroconfStatusEnum statusOf(String status)
Parameters:
status - String representation of the status
Returns:
ZeroconfStatusEnum corresponding the supplied String value

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.