Once an environment has been set up using the manager application, the Building
server application is started.
This is a very simple application which listens on a designated port for client
connections. The server application will only accept 35 connections at a time as
this is the maximum number of clients in an environment.
This application has a very simple protocol and accepts messages from an Object
Stream. It recognises hello, login and bye messages. On receiving a hello message,
it finds the list of building names and returns these to the requesting client.
The client application then displays a dialog box with a radio group of available
The client logs in with their name, password and the building/project name they
are part of. On receiving the login message the server checks the file on the
server for that project environment and if the log in is valid. If not a refuse
message is sent to the client application and the login dialog is redisplayed.
When a log in is valid the properties of the building are sent in vectors to the
These are used to initialise the environment and the details are stored on the
clients machine in an Environments folder. Main Project Page