NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IMessageSubscriber Class Referenceabstract

Provides access to members that manage a message subscriber. More...

#include <message_interface.h>

Inheritance diagram for IMessageSubscriber:
IEnumMessageID

Public Member Functions

virtual SDKResult SDK_CALLTYPE HandleMessage (const IMessageSP &message)=0 throw ()
 Called by the Message Manager to respond to a received message. More...
 
- Public Member Functions inherited from IEnumMessageID
virtual SDKResult SDK_CALLTYPE Next (MessageID &id) const =0 throw ()
 Retrieves the next MessageID in the enumeration sequence. More...
 
virtual void SDK_CALLTYPE Reset ()=0 throw ()
 Resets the enumeration sequence to the beginning.
 

Detailed Description

Provides access to members that manage a message subscriber.

Member Function Documentation

◆ HandleMessage()

virtual SDKResult SDK_CALLTYPE HandleMessage ( const IMessageSP &  message)
throw (
)
pure virtual

Called by the Message Manager to respond to a received message.

Parameters
[in]messageA message to handle.
Returns
kSDKResult_True If the HandleMessage function returns true, then the Message Manager considers the message handled.
kSDKResult_False If the HandleMessage function returns false, then the Message Manager considers the message was not handled.

The documentation for this class was generated from the following file: