In this Lesson
You will learn how to start the desktop client which is integrated into the Soiree workbench.
Soiree provides clients for Android, iOS, Windows, and OS X.
Each client is configured with three values:
- The hostname and port of the SxServer
- The solution to be run
- Whether or not to use SSL
When you start a client the following actions take place
- It connects to the SxServer
- It tells the SxServer which solution should be run
- The server responds by sending the solution’s initial scene to the client
Integrated Desktop Client
The Soiree workbench provides an integrated desktop client for running desktop solutions. The integrated desktop client is typically used to connect to the development server but it can also connect to any SxServer that is running on the network.
This client, combined with the integrated development server, make it very easy to create and test solutions designed for the desktop environment.
Starting the Integrated Desktop Client
Before you actually start the client let’s take a look at the instrumentation provided by the workbench.
The desktop client is started by using the “Start Desktop Client” button provided by the Soiree Workbench.
This button is a split button. Clicking on the down arrow on the right edge of the button will display a list of solutions that can be started. If the development server is not running you will see a list like this one.
When your development server is running the split button will display a list of all solutions that are defined in the Eclipse project that contains the running server’s definition. This is what the list will look like after the party server has been started.
When you select a solution from the list the workbench will start the desktop client with a configuration that connects to the development server with the selected solution.
- Start the party server if it is not already running
- Start your Party solution by clicking on the split button’s down arrow and selecting the solution.
When the client starts you should see the solution’s initial scene
TipThe solution you select stays in effect until you change it. So, after you start a solution you can restart the same one next time by simply pressing the Start Desktop Client button.
- You close the client by clicking on the close window button.
Connecting the client to other servers
You can connect the integrated desktop client to other SxServers on the network by pressing the down arrow on the Start Desktop Client button and then selecting “Connect to remote server…”
You must then enter the values required to run the client.
Let’s connect to your development server using this method
- Your party server was configured with the following values
- You can connect to your server by entering the following values
So, now you have seen your work of art. In the next lesson you will put it into action!