#pragma once #ifndef CSIPRetryAfterParser_h #define CSIPRetryAfterParser_h #include "ASIPParser.h" namespace SIPParserFW { class SIP_PARSER_DLL_DECLARATION_SPECIFIER CSIPRetryAfterParser : public ASIPParser { friend class CPoolObject<CSIPRetryAfterParser> ; protected: CSIPRetryAfterParser() ; CSIPRetryAfterParser( const CSIPRetryAfterParser &SIPRetryAfterParser ) ; virtual ~CSIPRetryAfterParser() ; CSIPRetryAfterParser& operator=( const CSIPRetryAfterParser &SIPRetryAfterParser ) ; public: void Release() ; ASIPParser* Copy() ; FW_RETURN_TYPE Parse( const std::string &strStringToParse ) ; std::string ToString() const ; std::string GetHeaderName() const ; public: void SetRetryAfterInSecString( const std::string &strRetryAfterInSecString ) ; const std::string& GetRetryAfterInSecString() const ; public: static CSIPRetryAfterParser* GetAvailable() ; private: void ReleaseParameters() ; private: void ReleaseCSIPRetryAfterParserData() ; void CopyCSIPRetryAfterParserData( const CSIPRetryAfterParser &SIPRetryAfterParser ) ; private: std::string m_strRetryAfterInSecString ; } ; inline void CSIPRetryAfterParser::SetRetryAfterInSecString( const std::string &strRetryAfterInSecString ) { m_strRetryAfterInSecString = strRetryAfterInSecString ; } inline const std::string& CSIPRetryAfterParser::GetRetryAfterInSecString() const { return m_strRetryAfterInSecString ; } } // End namespace #endif
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)