10 #ifndef _SESSION_INTERFACE_H_
11 #define _SESSION_INTERFACE_H_
14 #if defined(_APBUILD_WIN32_ALL__) || defined(__WIN32__) || defined(WIN32)
15 #define DLLEXPORT __declspec(dllexport)
16 #elif defined(_APBUILD_UNIX_ALL__) || defined(__unix__)
61 virtual void setHostSide(HostSide* hostSide);
74 void setChainName(
const std::string& chainName);
85 void setSessionName(
const std::string& sessionName);
96 void setChannelName(
const std::string& channelName);
108 void setDescription(
const std::string& description);
132 virtual void AddCapabilities(
Capability& capability);
179 virtual void onSessionStart(int64_t sourceId, map_t& configParams) = 0;
197 virtual void onSessionStop(int64_t sourceId) = 0;
211 virtual void onSessionReconfigure(int64_t sourceId, map_t& configParams) = 0;
224 virtual void onSessionRegistrationSuccess(
const std::string& sessionName, int64_t sourceId) = 0;
236 virtual void onSessionRegistrationError(
const std::string& sessionName) = 0;
243 std::string loggerPrefix_;
All the session related definitions and constants.
Definition: Connectivity_SessionDefs.h:120
AP_SESSION_State
Definition: Connectivity_SessionDefs.h:31
Definition: Connectivity_SessionInterface.h:32
Definition: Connectivity_MDInterfaces.h:59
Definition: Connectivity_SessionDefs.h:248
Definition: Connectivity_SessionDefs.h:298
Definition: Connectivity_SessionDefs.h:335