public static interface CharCreationLibrary.LoginSession
| Modifier and Type | Method | Description | 
|---|---|---|
| java.lang.String | acceptInput(Session session) | This strange method calls back into the given session for input from
 the user, if any is available. | 
| java.lang.String | login() | The login name received in the first prompt after connection. | 
| CharCreationLibrary.LoginResult | loginSystem(Session session) | Continues through the login state machine for the given session. | 
| void | logoutLoginSession() | Puts the session into a "logged out" state, which means either back
 to the initial prompt, or back to the account menu, depending. | 
| boolean | reset() | Set to true whenever the loginsystem needs the session to basically
 start the whole state machine over by re-creating the LoginSession
 object and calling in again. | 
| boolean | skipInputThisTime() | Returns true if the loginsystem needs the session to skip any input
 it was previously asked for and simply call right back into the
 state machine. | 
java.lang.String login()
CharCreationLibrary.LoginResult loginSystem(Session session) throws java.io.IOException
session - the session trying to loginjava.io.IOException - any I/O errors that occurCharCreationLibrary.LoginResultvoid logoutLoginSession()
boolean reset()
boolean skipInputThisTime()
java.lang.String acceptInput(Session session) throws java.net.SocketException, java.io.IOException
session - the session to ask for inputjava.net.SocketException - a socket error that occursjava.io.IOException - some other I/O error that occurred