pl.mn.communicator
Class SessionState

java.lang.Object
  extended by pl.mn.communicator.SessionState

public class SessionState
extends java.lang.Object

Created on 2004-11-28

Version:
$Id: SessionState.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
Author:
Mateusz Szczap

Field Summary
static SessionState AUTHENTICATION_AWAITING
          This state is when Gadu-Gadu server replied and we are waiting for the user to log in.
static SessionState CONNECTED
          This state is when we have physically connected to Gadu-Gadu server.
static SessionState CONNECTING
          This state is when we are connecting to the Gadu-Gadu server.
static SessionState CONNECTION_AWAITING
          This state is when we are waiting for the client to start socket connection to Gadu-Gadu server.
static SessionState CONNECTION_ERROR
          This state is when there is an unexpected connection error
static SessionState DISCONNECTED
          This state is we are disconnected by Gadu-Gadu server or when we have deliberately disconnected from it.
static SessionState DISCONNECTING
          This state is when the Gadu-Gadu server is disconnecting us or when we are disconnecting.
static SessionState LOGGED_IN
          This state is when user has been successfuly authenticated.
static SessionState LOGGED_OUT
          This state is when there was an connection error and session is no longer valid
 
Method Summary
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CONNECTION_AWAITING

public static final SessionState CONNECTION_AWAITING
This state is when we are waiting for the client to start socket connection to Gadu-Gadu server.


CONNECTING

public static final SessionState CONNECTING
This state is when we are connecting to the Gadu-Gadu server.


CONNECTED

public static final SessionState CONNECTED
This state is when we have physically connected to Gadu-Gadu server.


CONNECTION_ERROR

public static final SessionState CONNECTION_ERROR
This state is when there is an unexpected connection error


AUTHENTICATION_AWAITING

public static final SessionState AUTHENTICATION_AWAITING
This state is when Gadu-Gadu server replied and we are waiting for the user to log in.


LOGGED_IN

public static final SessionState LOGGED_IN
This state is when user has been successfuly authenticated.


DISCONNECTING

public static final SessionState DISCONNECTING
This state is when the Gadu-Gadu server is disconnecting us or when we are disconnecting.


DISCONNECTED

public static final SessionState DISCONNECTED
This state is we are disconnected by Gadu-Gadu server or when we have deliberately disconnected from it.


LOGGED_OUT

public static final SessionState LOGGED_OUT
This state is when there was an connection error and session is no longer valid

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()


Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.