Module implementing the single application server and client.
SingleApplicationClient | Class implementing the single application server embedded within the IDE. |
SingleApplicationServer | Class implementing the single application server embedded within the IDE. |
None |
Class implementing the single application server embedded within the IDE.
SingleApplicationClient | Constructor |
connect | Public method to connect the single application client to its server. |
errstr | Public method to return a meaningful error string for the last error. |
openFile | Private method to open a file in the application server. |
openProject | Private method to open a project in the application server. |
processArgs | Public method to process the command line args passed to the UI. |
sendArguments | Private method to set the command arguments in the application server. |
sendCommand | Private method to send the command to the application server. |
Constructor
Public method to connect the single application client to its server.
0 | No application is running |
1 | Application is already running |
-1 | The lock file could not be read |
-2 | The lock file is corrupt |
Public method to return a meaningful error string for the last error.
Private method to open a file in the application server.
Private method to open a project in the application server.
Public method to process the command line args passed to the UI.
Private method to set the command arguments in the application server.
Private method to send the command to the application server.
Class implementing the single application server embedded within the IDE.
SingleApplicationServer | Constructor |
handleClosed | Private method to handle the closure of the socket. |
handleLine | Private method to handle data from the client. |
newConnection | Reimplemented to handle a new connection. |
saArguments | Private method used to handle the "Arguments" command. |
saOpenFile | Private method used to handle the "Open File" command. |
saOpenProject | Private method used to handle the "Open Project" command. |
shutdown | Public method used to shut down the server. |
Constructor
Private method to handle the closure of the socket.
Private method to handle data from the client.
Reimplemented to handle a new connection.
Private method used to handle the "Arguments" command.
Private method used to handle the "Open File" command.
Private method used to handle the "Open Project" command.
Public method used to shut down the server.