Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.icq
Class AimStatusEnum

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

public class AimStatusEnum
extends PresenceStatus

An enumeration containing all status instances that MUST be supported by an implementation of the AIM (Oscar) protocol. Implementations may support other forms of PresenceStatus but they MUST ALL support those enumerated here.

For testing purposes, this class also provides a List containing all of the status fields.

Author:
Emil Ivov

Field Summary
static ArrayList<AimStatusEnum> aimStatusSet
          The minimal set of states that any AIM implementation must support.
static AimStatusEnum AWAY
          The Away AIM status.
static AimStatusEnum INVISIBLE
          The Invisible AIM status.
static AimStatusEnum OFFLINE
          The Offline AIM status.
static AimStatusEnum ONLINE
          The Online AIM 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
 
Constructor Summary
protected AimStatusEnum(int status, String statusName, byte[] statusIcon)
          Creates a status with the specified connectivity coeff, name and icon.
 
Method Summary
 
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

ONLINE

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


INVISIBLE

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


AWAY

public static final AimStatusEnum AWAY
The Away AIM status. Indicates that the user has connectivity but might not be able to immediately act upon initiation of communication.


OFFLINE

public static final AimStatusEnum OFFLINE
The Offline AIM status. Indicates the user does not seem to be connected to the AIM network or at least does not want us to know she is


aimStatusSet

public static final ArrayList<AimStatusEnum> aimStatusSet
The minimal set of states that any AIM implementation must support.

Constructor Detail

AimStatusEnum

protected AimStatusEnum(int status,
                        String statusName,
                        byte[] statusIcon)
Creates a status with the specified connectivity coeff, name and icon.

Parameters:
status - the connectivity coefficient for the specified status
statusName - String
statusIcon - the icon associated with this status

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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