|
Parse MethodThe Parse method for a message should be invoked to parse a message. If it successfully recognizes and parses a message, it will invoke one of the OnMessage events. If a parsing error occurs, the OnParseError event will be invoked by the engine, if you created this event.
If the message fails to parse, the OnParseError event is invoked. If it does parse correctly, the appropriate OnMessage event will be invoked. An example is provided below:
Example OnMessage Event
|