Class LoginRequest

java.lang.Object
sfs3.client.requests.BaseRequest
sfs3.client.requests.LoginRequest
All Implemented Interfaces:
sfs3.client.requests.IClientRequest

public class LoginRequest extends BaseRequest
Logs the current user in one of the server Zones.

Each Zone represent an independent multiuser application governed by SmartFoxServer. In order to join a Zone, a user name and password are usually required. In order to validate the user credentials, a custom login process should be implemented in the Zone's server-side Extension.

Read the SmartFoxServer 3 documentation about the login process for more informations.

If the login operation is successful, the current user receives a login event; otherwise the loginError event is fired.

See Also: