OpenFin C++ Adapter 1.1.0

Loading...
Searching...
No Matches
OpenFinAdapterApi::MessageChannelClient Class Reference

Base class for a channel client and channel provider. More...

#include <OpenFinAdapter.h>

Inheritance diagram for OpenFinAdapterApi::MessageChannelClient:
OpenFinAdapterApi::ChannelClient OpenFinAdapterApi::ChannelProvider

Public Member Functions

void registerTopic (const string &topic, const function< shared_ptr< string >(shared_ptr< string >, EndpointId)> &listener)
 Registers a listener of a topic.
 
void unregisterTopic (const string &topic)
 Unregisters a listener of a topic.
 

Detailed Description

Base class for a channel client and channel provider.

Member Function Documentation

◆ registerTopic()

void OpenFinAdapterApi::MessageChannelClient::registerTopic ( const string & topic,
const function< shared_ptr< string >(shared_ptr< string >, EndpointId)> & listener )

Registers a listener of a topic.

Parameters
topicThe topic
listenerA listener

◆ unregisterTopic()

void OpenFinAdapterApi::MessageChannelClient::unregisterTopic ( const string & topic)

Unregisters a listener of a topic.

Parameters
topicThe topic

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