org.walluck.oscar.client
Interface DaimLoginListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbstractOscarClient

public interface DaimLoginListener
extends EventListener

Interface DaimLoginListener If you're using DAIM, you most likely want to implement this listener. Through it's methods you can find out things about the login process -- i.e. whether a login was succesful or not.

Since:
1.0
Version:
1.0
Author:
Alain Penders

Method Summary
 void loginDone(DaimLoginEvent dle)
          Method called when the login is succesful.
 void loginError(DaimLoginEvent dle)
          Method called when a login login fails.
 void newUIN(DaimLoginEvent dle)
          Method called when a new UIN is assigned by the server (ICQ account registration).
 

Method Detail

loginError

void loginError(DaimLoginEvent dle)
Method called when a login login fails. AIMSession will be set with the session that failed. errorCode will be set with the failure error code. See AIMConstants.AIM_LOGINERROR_* for error codes.

Parameters:
dle - DaimLoginEvent

loginDone

void loginDone(DaimLoginEvent dle)
Method called when the login is succesful. AIMSession will be set.

Parameters:
dle -

newUIN

void newUIN(DaimLoginEvent dle)
Method called when a new UIN is assigned by the server (ICQ account registration). AIMSession and UIN will be set.

Parameters:
dle -