Observes a CAVERNdb_client and is triggered by received network packets
![]() | NsgCmdInterpreter ( CAVERNdb_client_c* dbc, char* path, char* key) Class constructor |
![]() | ~NsgCmdInterpreter () Class Destructor |
![]() | update ( CAVERNmisc_subject_c *subj ) Called when the db client calls its notify method ie when a new network command arrives |
![]() | publishCmd ( NsgCmd* cmd ) Trasmits the command and data in the given NsgCmd to the server |
![]() | unpackState ( char *data ) Called by update function |
![]() | 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.
virtual void update( CAVERNmisc_subject_c *subj )
virtual int publishCmd( NsgCmd* cmd )
virtual int unpackState( char *data )
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