BUG GPS Planning Meeting 2/3/99 | |||||||||||||||
|
|||||||||||||||
Server DesignThe GPS server receives "subscribe" messages from client applications. This message should include a list of the types of messages the client wishes to receive or include a flag for "send all". The message should also include a BMessenger linked to the client. The server will keep these messengers in a table. When the GPS hardware sends the server a packet of data, the server will look up a list of messengers in the table based on the data type, and send the raw data to each client. The server also receives "unsubscribe" messages from clients indicating that they no longer wish to receive data. When the server gets this message, it should remove all instances of the client from its lookup table. A diagram of the subscribe and unsubscribe operations appears below. ![]() Programming MeetingThis Saturday at 2:00 we will be meeting to work on the code for the server and some viewers. |