![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Message parser
More...
#include <lwe_interface.h>
Inherits ISDKProperties.
Public Member Functions | |
| virtual bool SDK_CALLTYPE | IsSupported (const SDKAny *data) const =0 throw () |
| Detects the supported message type by binary data. More... | |
| virtual SDKResult SDK_CALLTYPE | Process (const ISDKPropertiesSP &properties, const SDKAny *data, SDKUInt32 &result, IEnumSDKComponentSP &messages)=0 throw () |
| Provides a method to parse a binary data in to message or part of message. More... | |
Message parser
|
pure virtual | ||||||||||||||
Detects the supported message type by binary data.
| [in] | data | Pointer to raw binary data received from the network |
|
pure virtual | ||||||||||||||||||||||||||||
Provides a method to parse a binary data in to message or part of message.
| [in] | host | Host address that sent the data |
| [in] | port | Host port that sent the data |
| [in] | host | Host address that receive the data |
| [in] | port | Host port that receive the data |
| [in] | data | Pointer to the raw data that have been received from the network |
| [out] | result | Result of data parsing (see LWEParserResult) |
| [out] | messages | IEnumSDKComponent interface associated with received messages |