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__)
243 std::string loggerPrefix_;
All the session related definitions and constants.
AP_SESSION_State
Definition: Connectivity_SessionDefs.h:32
Definition: Connectivity_SessionInterface.h:33
virtual void SetSessionState(AP_SESSION_State state, bool generateNewId)
virtual void setHostSide(HostSide *hostSide)
virtual void onSessionStop(int64_t sourceId)=0
virtual void onSessionRegistrationSuccess(const std::string &sessionName, int64_t sourceId)=0
virtual AP_SESSION_State getSessionState()
void setSessionName(const std::string &sessionName)
SessionConfigs & getSessionConfiguration()
virtual void AddSessionParams(SessionParam ¶m)
void setDescription(const std::string &description)
virtual void onSessionStart(int64_t sourceId, map_t &configParams)=0
virtual void AddCapabilities(Capability &capability)
void setChannelName(const std::string &channelName)
void setChainName(const std::string &chainName)
SessionInterface(Logger &logger)
virtual void onSessionRegistrationError(const std::string &sessionName)=0
virtual void onSessionReconfigure(int64_t sourceId, map_t &configParams)=0
Definition: Connectivity_SessionDefs.h:298
Definition: Connectivity_SessionDefs.h:248
Definition: Connectivity_SessionDefs.h:336
Definition: Connectivity_SessionDefs.h:120