TARAXA
|
Encapsulation of Frame. More...
#include <RLPXFrameCoder.h>
Public Member Functions | |
RLPXFrameInfo (bytesConstRef _frameHeader) | |
Public Attributes | |
uint32_t const | length = 0 |
Size of frame (excludes padding). Max: 2**24. More... | |
uint8_t const | padding = 0 |
Length of padding which follows @length. More... | |
bytes const | data |
Bytes of Header. More... | |
RLP const | header |
Header RLP. More... | |
uint16_t const | protocolId = 0 |
Protocol ID as negotiated by handshake. More... | |
bool const | multiFrame = 0 |
If this frame is part of a sequence. More... | |
uint16_t const | sequenceId = 0 |
Sequence ID of frame. More... | |
uint32_t const | totalLength = 0 |
Encapsulation of Frame.
|
explicit |
Constructor. frame-size || protocol-type, [sequence-id[, total-packet-size]]
bytes const dev::p2p::RLPXFrameInfo::data |
Bytes of Header.
uint32_t const dev::p2p::RLPXFrameInfo::length = 0 |
Size of frame (excludes padding). Max: 2**24.
bool const dev::p2p::RLPXFrameInfo::multiFrame = 0 |
If this frame is part of a sequence.
uint8_t const dev::p2p::RLPXFrameInfo::padding = 0 |
Length of padding which follows @length.
uint16_t const dev::p2p::RLPXFrameInfo::protocolId = 0 |
Protocol ID as negotiated by handshake.
uint16_t const dev::p2p::RLPXFrameInfo::sequenceId = 0 |
Sequence ID of frame.
uint32_t const dev::p2p::RLPXFrameInfo::totalLength = 0 |
Total length of packet in first frame of multiframe packet.