Back to Volume
Paper: msg: A Message-Passing Library
Volume: 238, Astronomical Data Analysis Software and Systems X
Page: 233
Authors: Roll, J. B.; Mandel, J.
Abstract: As the foundation for the SAO MMT Instrument control software, we have developed an ASCII protocol for passing messages between client and server applications. Server interfaces are described as registered commands and published values. Clients may execute these commands and subscribe to published values. The mechanics of exchanging data between the client and server over a TCP/IP socket are handled by the library. The protocol and its implementing libraries have been designed with simplicity in mind. The simplest server can be written in three lines of code. However, we also have used the msg library to build complex systems with dozens of registered commands and hundreds of published values.
Back to Volume