General configuration of a subscription. More...
#include <SubscriptionService.hpp>
Public Member Functions | |
void | setTopicName (const std::string &publisherName) |
Sets the topic name of the subscription. The default topic name is the name of the RCF interface of the subscription. More... | |
std::string | getTopicName () const |
Gets the topic name of the subscription. The default topic name is the name of the RCF interface of the subscription. More... | |
void | setPublisherEndpoint (const Endpoint &publisherEp) |
Sets the network endpoint of the publishing server. More... | |
void | setPublisherEndpoint (I_RcfClient &rcfClient) |
Sets the network endpoint of the publishing server. More... | |
void | setOnSubscriptionDisconnect (OnSubscriptionDisconnect onSubscriptionDisconnect) |
Configures a callback to be called whenever the subscriber is disconnected from the publisher. More... | |
void | setOnAsyncSubscribeCompleted (OnAsyncSubscribeCompleted onAsyncSubscribeCompleted) |
Configures a callback to be called when an asynchronous subscription connection is established. More... | |
General configuration of a subscription.
void RCF::SubscriptionParms::setTopicName | ( | const std::string & | publisherName | ) |
Sets the topic name of the subscription. The default topic name is the name of the RCF interface of the subscription.
std::string RCF::SubscriptionParms::getTopicName | ( | ) | const |
Gets the topic name of the subscription. The default topic name is the name of the RCF interface of the subscription.
void RCF::SubscriptionParms::setPublisherEndpoint | ( | const Endpoint & | publisherEp | ) |
Sets the network endpoint of the publishing server.
void RCF::SubscriptionParms::setPublisherEndpoint | ( | I_RcfClient & | rcfClient | ) |
Sets the network endpoint of the publishing server.
void RCF::SubscriptionParms::setOnSubscriptionDisconnect | ( | OnSubscriptionDisconnect | onSubscriptionDisconnect | ) |
Configures a callback to be called whenever the subscriber is disconnected from the publisher.
void RCF::SubscriptionParms::setOnAsyncSubscribeCompleted | ( | OnAsyncSubscribeCompleted | onAsyncSubscribeCompleted | ) |
Configures a callback to be called when an asynchronous subscription connection is established.