net.pleso.auth.client
Interface IAuthResultListener


public interface IAuthResultListener

Interface of class-handler of authentication requests. AuthController calls methods of this interface implementation by results of requests to server-side. AuthController needs this interface external implementation.


Method Summary
 void errorLogin(java.lang.Throwable caught)
          Calls when was exception in login.
 void errorLogout(java.lang.Throwable caught)
          Calls when was exception in logout.
 void setUserInfo(UserInfo info)
          Calls when user information was received.
 void successLogin()
          Calls on success login.
 void successLogout()
          Calls on success logout.
 

Method Detail

errorLogin

void errorLogin(java.lang.Throwable caught)
Calls when was exception in login.

Parameters:
caught - exception instance

successLogin

void successLogin()
Calls on success login.


setUserInfo

void setUserInfo(UserInfo info)
Calls when user information was received.

Parameters:
info - received user information

errorLogout

void errorLogout(java.lang.Throwable caught)
Calls when was exception in logout.

Parameters:
caught - exception instance

successLogout

void successLogout()
Calls on success logout.



Copyright © 2006-2007 pleso.net crew All Rights Reserved.