|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LoginEventHandler
Custom login event handler.
Implement this class, implementing the
executeLogin method,
and use as a server extension to customize
logins. See the LoginEventHandler example plug-in.
| Method Summary | |
|---|---|
ChainAction |
executeLogin(LoginContext context)
Custom login event handler. |
| Methods inherited from interface com.electrotank.electroserver4.extensions.EventHandler |
|---|
getApi, setApi |
| Method Detail |
|---|
ChainAction executeLogin(LoginContext context)
Custom login event handler. See the LoginEventHandler example plug-in.
Note: UserVariables, ExtensionBoundUserServerVariables and UserServerVariables
cannot be set using getApi() during executeLogin, because the user has not finished logging in.
If you need to set one or more
of these, use the LoginContext instead.
context - LoginContext from user attempting to login
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||