Public Member Functions | |
| FrontendInterface (InputStream inchannel, OutputStream outchannel, FrontendCallback sessionControl) | |
| void | talk (boolean sessionStartMode) throws IOException |
| boolean | executeCommand (DBObject command) throws IOException |
Static Public Member Functions | |
| static void | addPending (FrontendCredentials creds) |
| add a "Credentials" object to the list of pending authentications | |
| static void | removePending (FrontendCredentials creds) |
| remove a "Credentials" object from the list of pending authentications | |
| static void | setupDone () |
| this method is called by setup_frinterface as soon as setup is complete | |
Static Public Attributes | |
| static String | sessionPassword = null |
Protected Member Functions | |
| void | flush () throws IOException |
| void | writeLine (String line) throws IOException |
| void | log (String text) throws IOException |
| void | sendEditorErrors (FrontendEditor editor) throws IOException |
| FrontendEditor | findEditor (DBObject command) throws IOException |
| void | ensureShortcuts () |
| DBConnection | findDB (DBObject command) throws IOException |
| String | receive_data () throws IOException |
| String | receive_data (String description) throws IOException |
| void | send_data (String data) throws IOException |
| void | send_file (String data, String description) throws IOException |
| void | send_file (String data) throws IOException |
| void | send_search (Enumeration search, String description) throws IOException |
Static Package Functions | |
| [static initializer] | |
Package Attributes | |
| BufferedReader | inReader = null |
| OutputStream | outStream = null |
| boolean | connected = false |
| int | sessionPwFailed = 0 |
| boolean | sessionStartMode = false |
| EventEnvironment | currentEvent = null |
| FrontendCallback | sessionControl = null |
| StringBuffer | buffer = new StringBuffer() |
| OutputStream | log = null |
| long | start = 0 |
Static Package Attributes | |
| static Vector | pendingCredentials = new Vector() |
| contains a list of FrontendCredentials objects waiting for authentication | |
| static boolean | setupComplete = false |
| this is true if setup is complete - means every authentication has taken place | |
| static Hashtable | databaseShortcuts = null |
| A hash of database shortcuts used by findDB(). | |
|
||||||||||||||||
|
|
|
|
|
|
|
add a "Credentials" object to the list of pending authentications
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remove a "Credentials" object from the list of pending authentications
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
this method is called by setup_frinterface as soon as setup is complete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A hash of database shortcuts used by findDB().
|
|
|
|
|
|
|
|
|
|
|
|
contains a list of FrontendCredentials objects waiting for authentication
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this is true if setup is complete - means every authentication has taken place
|
|
|
|
1.4.5