#include <recipient.hh>
Definition at line 15 of file recipient.hh.
 
◆ Recipient()
  
  
      
        
          | Recipient::Recipient  | 
          ( | 
          boost::asio::io_service &  | 
          service,  | 
         
        
           | 
           | 
          const boost::asio::ip::tcp::endpoint &  | 
          endpoint,  | 
         
        
           | 
           | 
          size_t  | 
          circbuff_size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ ~Recipient()
  
  
      
        
          | Recipient::~Recipient  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ sock_reset()
  
  
      
        
          | void Recipient::sock_reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ sendIfPossible()
  
  
      
        
          | bool Recipient::sendIfPossible  | 
          ( | 
          const Frame &  | 
          data | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ connect()
  
  
      
        
          | void Recipient::connect  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprivate   | 
  
 
Definition at line 88 of file recipient.hh.
   90     boost::system::error_code ec;
 
   95       boost::asio::socket_base::send_buffer_size option(67108864);
 
   98       boost::system::error_code ec;
 
   99       m_sock.shutdown(boost::asio::ip::tcp::socket::shutdown_receive, ec);
 
 
 
 
◆ stop()
Definition at line 103 of file recipient.hh.
  105     boost::system::error_code ec;
 
  106     m_sock.shutdown(boost::asio::ip::tcp::socket::shutdown_send, ec);
 
 
 
 
◆ send()
  
  
      
        
          | bool Recipient::send  | 
          ( | 
          const Frame &  | 
          data | ) | 
           | 
         
       
   | 
  
inlineprivate   | 
  
 
Send data. 
- Parameters
 - 
  
  
 
- Returns
 - true if OK; else false 
 
Definition at line 116 of file recipient.hh.
  118     boost::system::error_code ec;
 
 
 
 
◆ RecipientsHandler
◆ m_sock
  
  
      
        
          | boost::asio::ip::tcp::socket Recipient::m_sock | 
         
       
   | 
  
private   | 
  
 
 
◆ m_endpoint
  
  
      
        
          | boost::asio::ip::tcp::endpoint Recipient::m_endpoint | 
         
       
   | 
  
private   | 
  
 
 
◆ m_cbuffer
◆ m_connected
  
  
      
        
          | bool Recipient::m_connected | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: