Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol
Class WhiteboardSessionState

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.WhiteboardSessionState

public class WhiteboardSessionState
extends Object

The WhiteboardSessionState class reflects the current state of a whiteboard session.

Author:
Julien Waechter, Emil Ivov

Field Summary
static String _WHITEBOARD_ENDED
          This constant containing a String representation of the WHITEBOARD_ENDED state.
static String _WHITEBOARD_IN_PROGRESS
          This constant containing a String representation of the WHITEBOARD_IN_PROGRESS state.
static String _WHITEBOARD_INITIALIZATION
          This constant containing a String representation of the WHITEBOARD_INITIALIZATION state.
static WhiteboardSessionState WHITEBOARD_ENDED
          This constant value indicates that the associated whiteboard is currently in a terminated phase.
static WhiteboardSessionState WHITEBOARD_IN_PROGRESS
          This constant value indicates that the associated whiteboard is currently in an active state.
static WhiteboardSessionState WHITEBOARD_INITIALIZATION
          This constant value indicates that the associated whiteboard is currently in an initialization state.
 
Method Summary
 String getStateString()
          Returns a String representation of tha WhiteboardSte.
 String toString()
          Returns a string represenation of this whiteboard state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_WHITEBOARD_INITIALIZATION

public static final String _WHITEBOARD_INITIALIZATION
This constant containing a String representation of the WHITEBOARD_INITIALIZATION state.

This constant has the String value "Initializing".

See Also:
Constant Field Values

WHITEBOARD_INITIALIZATION

public static final WhiteboardSessionState WHITEBOARD_INITIALIZATION
This constant value indicates that the associated whiteboard is currently in an initialization state.


_WHITEBOARD_IN_PROGRESS

public static final String _WHITEBOARD_IN_PROGRESS
This constant containing a String representation of the WHITEBOARD_IN_PROGRESS state.

This constant has the String value "In Progress".

See Also:
Constant Field Values

WHITEBOARD_IN_PROGRESS

public static final WhiteboardSessionState WHITEBOARD_IN_PROGRESS
This constant value indicates that the associated whiteboard is currently in an active state.


_WHITEBOARD_ENDED

public static final String _WHITEBOARD_ENDED
This constant containing a String representation of the WHITEBOARD_ENDED state.

This constant has the String value "Ended".

See Also:
Constant Field Values

WHITEBOARD_ENDED

public static final WhiteboardSessionState WHITEBOARD_ENDED
This constant value indicates that the associated whiteboard is currently in a terminated phase.

Method Detail

getStateString

public String getStateString()
Returns a String representation of tha WhiteboardSte.

Returns:
a string value (one of the _WHITEBOARD_XXX constants) representing this whiteboard state).

toString

public String toString()
Returns a string represenation of this whiteboard state. Strings returned by this method have the following format: "WhiteboardState:" and are meant to be used for loggin/debugging purposes.

Overrides:
toString in class Object
Returns:
a string representation of this object.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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