#include <ws_server.hpp>
◆ WsServer() [1/3]
      
        
          | taraxa::net::WsServer::WsServer  | 
          ( | 
          boost::asio::io_context &  | 
          ioc,  | 
        
        
           | 
           | 
          tcp::endpoint  | 
          endpoint,  | 
        
        
           | 
           | 
          addr_t  | 
          node_addr,  | 
        
        
           | 
           | 
          std::shared_ptr< metrics::JsonRpcMetrics >  | 
          metrics  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~WsServer()
  
  
      
        
          | taraxa::net::WsServer::~WsServer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ WsServer() [2/3]
  
  
      
        
          | taraxa::net::WsServer::WsServer  | 
          ( | 
          const WsServer &  | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
◆ WsServer() [3/3]
  
  
      
        
          | taraxa::net::WsServer::WsServer  | 
          ( | 
          WsServer &&  | 
           | ) | 
           | 
         
       
   | 
  
delete   | 
  
 
 
◆ createSession()
  
  
      
        
          | virtual std::shared_ptr< WsSession > taraxa::net::WsServer::createSession  | 
          ( | 
          tcp::socket &&  | 
          socket | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ do_accept()
  
  
      
        
          | void taraxa::net::WsServer::do_accept  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ newDagBlock()
      
        
          | void taraxa::net::WsServer::newDagBlock  | 
          ( | 
          const std::shared_ptr< DagBlock > &  | 
          blk | ) | 
           | 
        
      
 
 
◆ newDagBlockFinalized()
      
        
          | void taraxa::net::WsServer::newDagBlockFinalized  | 
          ( | 
          const blk_hash_t &  | 
          blk,  | 
        
        
           | 
           | 
          uint64_t  | 
          period  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ newEthBlock()
◆ newLogs()
◆ newPbftBlockExecuted()
      
        
          | void taraxa::net::WsServer::newPbftBlockExecuted  | 
          ( | 
          const PbftBlock &  | 
          blk,  | 
        
        
           | 
           | 
          const std::vector< blk_hash_t > &  | 
          finalized_dag_blk_hashes  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ newPendingTransaction()
      
        
          | void taraxa::net::WsServer::newPendingTransaction  | 
          ( | 
          const trx_hash_t &  | 
          trx_hash | ) | 
           | 
        
      
 
 
◆ newPillarBlockData()
◆ numberOfSessions()
      
        
          | uint32_t taraxa::net::WsServer::numberOfSessions  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ on_accept()
  
  
      
        
          | void taraxa::net::WsServer::on_accept  | 
          ( | 
          beast::error_code  | 
          ec,  | 
         
        
           | 
           | 
          tcp::socket  | 
          socket  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
      
        
          | void taraxa::net::WsServer::run  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ StartListening()
  
  
      
        
          | virtual bool taraxa::net::WsServer::StartListening  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ StopListening()
  
  
      
        
          | virtual bool taraxa::net::WsServer::StopListening  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ acceptor_
  
  
      
        
          | tcp::acceptor taraxa::net::WsServer::acceptor_ | 
         
       
   | 
  
private   | 
  
 
 
◆ ioc_
◆ metrics_
◆ node_addr_
  
  
      
        
          | const addr_t taraxa::net::WsServer::node_addr_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ sessions_
  
  
      
        
          | std::list<std::shared_ptr<WsSession> > taraxa::net::WsServer::sessions_ | 
         
       
   | 
  
private   | 
  
 
 
◆ sessions_mtx_
  
  
      
        
          | boost::shared_mutex taraxa::net::WsServer::sessions_mtx_ | 
         
       
   | 
  
private   | 
  
 
 
◆ stopped_
  
  
      
        
          | std::atomic<bool> taraxa::net::WsServer::stopped_ = false | 
         
       
   | 
  
private   | 
  
 
 
◆ WsSession
  
  
      
        
          | friend taraxa::net::WsServer::WsSession | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: