Observes a CAVERNdb_client and is triggered by received network packets
NsgCmdInterpreter ( CAVERNdb_client_c* dbc, char* path, char* key) Class constructor | |
virtual | ~NsgCmdInterpreter () Class Destructor |
virtual void | update ( CAVERNmisc_subject_c *subj ) Called when the db client calls its notify method ie when a new network command arrives |
virtual int | publishCmd ( NsgCmd* cmd ) Trasmits the command and data in the given NsgCmd to the server |
virtual int | unpackState ( char *data ) Called by update function |
virtual int | packAndSendState () puts the data to the server |
Observes a CAVERNdb_client and is triggered by received network packets. It used the first word of the received character string to look up the command in the registry, and it then makes the command execute. It should also place specified commands onto the network.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de