Adding missing functions. SAM now let you choose signature types

This commit is contained in:
Mikal Villa
2019-07-21 15:05:11 +02:00
parent d019f60ba7
commit a8a2687927
2 changed files with 14 additions and 2 deletions

View File

@ -604,6 +604,17 @@ const std::string& StreamSession::getSAMVersion() const
return socket_.getVersion();
}
const std::string& StreamSession::getSAMMinVer() const
{
return socket_.minVer_;
}
const std::string& StreamSession::getSAMMaxVer() const
{
return socket_.maxVer_;
}
//--------------------------------------------------------------------------------------------------

View File

@ -224,13 +224,14 @@ public:
const sockaddr_in& getAddress() const;
const std::string minVer_ = "3.0";
const std::string maxVer_ = "3.1";
private:
SOCKET socket_;
sockaddr_in servAddr_;
std::string SAMHost_;
uint16_t SAMPort_;
const std::string minVer_ = "3.0";
const std::string maxVer_ = "3.1";
std::string version_;
#ifdef WIN32