iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > C++ Support > Parsing a Message |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The ParseMessage method of the application Engine should be invoked to parse a message. If it successfully recognizes and parses a message, it will invoke one of the message virtual functions. If the parse fails, it will throw a CHMerror exception object. The following code shows an example of how this API can be invoked:
This is a call sequence:
The following code fragment gives an idea of what a typical message virtual method would look like when the user overrides the ServerEngine class:
|