com.beem.project.beem.service
Class LoginAsyncTask
java.lang.Object
android.os.AsyncTask<IXmppFacade,Integer,Boolean>
com.beem.project.beem.service.LoginAsyncTask
public class LoginAsyncTask
- extends AsyncTask<IXmppFacade,Integer,Boolean>
This is an asynchronous task that will launch a connection to the XMPP server.
- See Also:
AsyncTask
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATE_CONNECTION_RUNNING
public static final int STATE_CONNECTION_RUNNING
- State of a running connection.
- See Also:
- Constant Field Values
STATE_LOGIN_RUNNING
public static final int STATE_LOGIN_RUNNING
- State of an already connected connection but authentication is running.
- See Also:
- Constant Field Values
STATE_LOGIN_SUCCESS
public static final int STATE_LOGIN_SUCCESS
- State of a connected and authenticated succesfully.
- See Also:
- Constant Field Values
STATE_LOGIN_FAILED
public static final int STATE_LOGIN_FAILED
- State of a connected but failed authentication.
- See Also:
- Constant Field Values
LoginAsyncTask
public LoginAsyncTask()
- Constructor.
doInBackground
protected Boolean doInBackground(IXmppFacade... params)
- Specified by:
doInBackground in class AsyncTask<IXmppFacade,Integer,Boolean>
onCancelled
protected void onCancelled()
- Make sur to call the parent method when overriding this method.
- Overrides:
onCancelled in class AsyncTask<IXmppFacade,Integer,Boolean>
getErrorMessage
public String getErrorMessage()
- Get the error Message.
- Returns:
- the error message. null if no error
Copyright © 2009 Beem-project.com. All Rights Reserved.