Fabcoin Core  0.16.2
P2P Digital Currency
Public Attributes | List of all members
dev::p2p::RLPXFrameWriter::WriterState Struct Reference

Queue and state for Writer Properties are used independently; only valid packets should be added to q. More...

Collaboration diagram for dev::p2p::RLPXFrameWriter::WriterState:
[legend]

Public Attributes

std::deque< RLPXPacketq
 
Mutex x
 
RLPXPacketwriting = nullptr
 
size_t remaining = 0
 
bool multiFrame = false
 
uint16_t sequence = -1
 

Detailed Description

Queue and state for Writer Properties are used independently; only valid packets should be added to q.

Todo:
implement as class

Definition at line 50 of file RLPXFrameWriter.h.

Member Data Documentation

bool dev::p2p::RLPXFrameWriter::WriterState::multiFrame = false

Definition at line 57 of file RLPXFrameWriter.h.

std::deque<RLPXPacket> dev::p2p::RLPXFrameWriter::WriterState::q

Definition at line 52 of file RLPXFrameWriter.h.

size_t dev::p2p::RLPXFrameWriter::WriterState::remaining = 0

Definition at line 56 of file RLPXFrameWriter.h.

uint16_t dev::p2p::RLPXFrameWriter::WriterState::sequence = -1

Definition at line 58 of file RLPXFrameWriter.h.

RLPXPacket* dev::p2p::RLPXFrameWriter::WriterState::writing = nullptr

Definition at line 55 of file RLPXFrameWriter.h.

Mutex dev::p2p::RLPXFrameWriter::WriterState::x
mutable

Definition at line 53 of file RLPXFrameWriter.h.


The documentation for this struct was generated from the following file: