Generic PacketsHandler that contains all specific packet handlers.  
 More...
#include <packets_handler.hpp>
Generic PacketsHandler that contains all specific packet handlers. 
 
◆ getSpecificHandler()
Factory method for getting specific packet handler based on packet type. 
- Note
 - reference to pointer is returned, it is user's responsibility to decide if he makes a copy to independently control the lifetime of the object or not.
 
- Parameters
 - 
  
  
 
- Returns
 - reference to std::shared_ptr<BasePacketHandler> 
 
 
 
◆ registerHandler()
template<typename PacketHandlerType , typename... Args> 
      
        
          | void taraxa::network::tarcap::PacketsHandler::registerHandler  | 
          ( | 
          Args &&...  | 
          args | ) | 
           | 
        
      
 
Registers packet handler. 
- Template Parameters
 - 
  
  
 
- Parameters
 - 
  
    | args | to be forwarded to the PacketHandlerType ctor  | 
  
   
 
 
◆ packets_handlers_
The documentation for this class was generated from the following files: