com.google.android.gtalkservice.ConnectionState
ConnectionState
connection states when making a GTalk connection.
Summary
Constants
| |
|
|
Value |
|
| int |
CONNECTED |
CONNECTED connected to the server, but not authenticated yet |
3 |
0x00000003 |
| int |
CONNECTING |
CONNECTING connecting to the server |
2 |
0x00000002 |
| int |
IDLE |
IDLE not connected |
0 |
0x00000000 |
| int |
LOGGED_IN |
LOGGED_IN successfully logged in to the XMPP server |
4 |
0x00000004 |
| int |
PENDING |
PENDING in a pending state for automatic reconnection |
1 |
0x00000001 |
| int |
REQUESTED_ROSTER |
REQUESTED_ROSTER the client requested roster from the server |
5 |
0x00000005 |
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
int
CONNECTED
CONNECTED connected to the server, but not authenticated yet
Constant Value:
3
(0x00000003)
public
static
final
int
CONNECTING
CONNECTING connecting to the server
Constant Value:
2
(0x00000002)
public
static
final
int
IDLE
IDLE not connected
Constant Value:
0
(0x00000000)
public
static
final
int
LOGGED_IN
LOGGED_IN successfully logged in to the XMPP server
Constant Value:
4
(0x00000004)
public
static
final
int
PENDING
PENDING in a pending state for automatic reconnection
Constant Value:
1
(0x00000001)
public
static
final
int
REQUESTED_ROSTER
REQUESTED_ROSTER the client requested roster from the server
Constant Value:
5
(0x00000005)
Public Methods
public
static
final
String
toString(int state)
toString
get the string representation for the connection state