iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Java 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 onMessage events. If not, it will throw a ChameleonException. The following code shows an example of how this API can be invoked:
This diagram gives the call sequence which is invoked, assuming that the user has chosen to name the application Engine class 'ServerEngine', click on each section for descriptions:
The following code fragment gives an idea of what a typical on<message name>Message virtual method would look like when a override has been performed by the user in the ServerEngine class:
|