| 
|   | jsecresponder (std::shared_ptr< jlogger > &logger, std::shared_ptr< jring< ringflow >> &flowring, std::shared_ptr< jring< secin >> &inputring, std::shared_ptr< jring< secout >> &outputring, uint64_t seed, bool use_crypto, const char *readlatency="80..120", const char *computelatency="2000..5000", const char *writelatency="50..100") | 
|   | 
| 
void  | dequeue (std::string flow) | 
|   | enqueue flows to responder 
  | 
|   | 
| void  | enqueue (std::string &flow) | 
|   | 
| void  | push (uint64_t packet, uint32_t size, uint32_t status) | 
|   | 
| secin  | pop () | 
|   | 
| 
void  | run () | 
|   | run the responder 
  | 
|   | 
◆ jsecresponder()
      
        
          | InterfacePP::jsecresponder::jsecresponder  | 
          ( | 
          std::shared_ptr< jlogger > &  | 
          logger,  | 
        
        
           | 
           | 
          std::shared_ptr< jring< ringflow >> &  | 
          flowring,  | 
        
        
           | 
           | 
          std::shared_ptr< jring< secin >> &  | 
          inputring,  | 
        
        
           | 
           | 
          std::shared_ptr< jring< secout >> &  | 
          outputring,  | 
        
        
           | 
           | 
          uint64_t  | 
          seed,  | 
        
        
           | 
           | 
          bool  | 
          use_crypto,  | 
        
        
           | 
           | 
          const char *  | 
          readlatency = "80..120",  | 
        
        
           | 
           | 
          const char *  | 
          computelatency = "2000..5000",  | 
        
        
           | 
           | 
          const char *  | 
          writelatency = "50..100"  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
constructor for responder to test wasp interface 
- Parameters
 - 
  
    | logger | - object to print output  | 
    | flowring | - software ring for the flows  | 
    | inputring | - software ring for the input packets  | 
    | outputring | - software ring for the output packets  | 
    | seed | - seed for the random number generator  | 
    | use_crypto | - use cryptographic quality random numbers  | 
    | readlatency | - latency for read transactions  | 
    | computelatency | - latency for compute transactions  | 
    | writelatency | - latency for write transactions  | 
  
   
 
 
◆ enqueue()
      
        
          | void InterfacePP::jsecresponder::enqueue  | 
          ( | 
          std::string &  | 
          flow | ) | 
           | 
        
      
 
dequeue flows from responder 
- Parameters
 - 
  
  
 
 
 
◆ pop()
      
        
          | secin InterfacePP::jsecresponder::pop  | 
          ( | 
           | ) | 
           | 
        
      
 
pop next packet from the input ring 
- Returns
 - - input ring object 
 
 
 
◆ push()
      
        
          | void InterfacePP::jsecresponder::push  | 
          ( | 
          uint64_t  | 
          packet,  | 
        
        
           | 
           | 
          uint32_t  | 
          size,  | 
        
        
           | 
           | 
          uint32_t  | 
          status  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
push another packet to the output ring 
- Parameters
 - 
  
    | packet | - address for the packet  | 
    | size | - size of the packet in bytes  | 
    | status | - status of the finished packet  | 
  
   
 
 
The documentation for this class was generated from the following file:
- jresponder/include/jsecresponder.h