362c1f4c3b5ce9e3fce11167a51fbe4cdb2174de
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h  1) /* Blinker
Stefan Schuermans update copyright header

Stefan Schuermans authored 5 years ago

src/common/SenderDest.h  2)    Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h  3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
src/noarch/SenderDest.h  4)    a blinkenarea.org project */
src/noarch/SenderDest.h  5) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h  6) #ifndef BLINKER_SENDERDEST_H
src/noarch/SenderDest.h  7) #define BLINKER_SENDERDEST_H
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h  8) 
src/noarch/SenderDest.h  9) #include <string>
src/noarch/SenderDest.h 10) 
src/noarch/SenderDest.h 11) #include "Directory.h"
src/noarch/SenderDest.h 12) #include "File.h"
src/noarch/SenderDest.h 13) #include "Module.h"
src/noarch/SenderDest.h 14) #include "Sender.h"
src/noarch/SenderDest.h 15) #include "SettingFile.h"
src/noarch/SenderDest.h 16) 
src/noarch/SenderDest.h 17) namespace Blinker {
src/noarch/SenderDest.h 18) 
src/noarch/SenderDest.h 19) /// static destination of a stream sender
src/noarch/SenderDest.h 20) template<typename ADDR, typename SOCK>
src/noarch/SenderDest.h 21) class Sender<ADDR, SOCK>::Dest
src/noarch/SenderDest.h 22) {
src/noarch/SenderDest.h 23) public:
src/noarch/SenderDest.h 24)   /**
src/noarch/SenderDest.h 25)    * @brief constructor
src/noarch/SenderDest.h 26)    * @param[in] sender owning sender object
Stefan Schuermans converted sender to use lis...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 27)    * @param[in] name destination name
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 28)    * @param[in] dirBase base directory
src/noarch/SenderDest.h 29)    */
Stefan Schuermans converted sender to use lis...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 30)   Dest(Sender &sender, const std::string &name, const Directory &dirBase);
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 31) 
src/noarch/SenderDest.h 32)   /// destructor
src/noarch/SenderDest.h 33)   ~Dest();
src/noarch/SenderDest.h 34) 
src/noarch/SenderDest.h 35) private:
src/noarch/SenderDest.h 36)   /// copy constructor disabled
src/noarch/SenderDest.h 37)   Dest(const Dest &that);
src/noarch/SenderDest.h 38) 
src/noarch/SenderDest.h 39)   /// assignment operator disabled
src/noarch/SenderDest.h 40)   const Dest & operator=(const Dest &that);
src/noarch/SenderDest.h 41) 
src/noarch/SenderDest.h 42) public:
src/noarch/SenderDest.h 43)   /// check for update of configuration
src/noarch/SenderDest.h 44)   void updateConfig();
src/noarch/SenderDest.h 45) 
src/noarch/SenderDest.h 46)   /**
src/noarch/SenderDest.h 47)    * @brief set current protocol data
Stefan Schuermans simplified sender module a...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 48)    * @param[in] pData protocol data to send to address (empty if unkown)
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 49)    */
src/noarch/SenderDest.h 50)   void setProtoData(const std::string *pData);
src/noarch/SenderDest.h 51) 
src/noarch/SenderDest.h 52) protected:
src/noarch/SenderDest.h 53)   /// (re-)get address
src/noarch/SenderDest.h 54)   void getAddr();
src/noarch/SenderDest.h 55) 
src/noarch/SenderDest.h 56)   /**
src/noarch/SenderDest.h 57)    * @brief send protocol data to address
Stefan Schuermans simplified sender module a...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 58)    * @param[in] pData protocol data to send to address (empty if unknown)
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 59)    */
src/noarch/SenderDest.h 60)   void send(const std::string *pData);
src/noarch/SenderDest.h 61) 
src/noarch/SenderDest.h 62) protected:
Stefan Schuermans converted sender to use lis...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 63)   Sender            &m_sender;  ///< owning sender object
src/noarch/SenderDest.h 64)   std::string       m_name;     ///< destination name
src/noarch/SenderDest.h 65)   AddrFile          m_fileAddr; ///< address file
src/noarch/SenderDest.h 66)   const std::string *m_pData;   ///< protocol data to send to address
Stefan Schuermans typo

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 67) }; // class Sender<ADDR, SOCK>::Dest
Stefan Schuermans sender static destination n...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 68) 
src/noarch/SenderDest.h 69) } // namespace Blinker
src/noarch/SenderDest.h 70) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/SenderDest.h 71) #endif // #ifndef BLINKER_SENDERDEST_H