reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::WsFrameExtractor Class Reference

#include <WsFrameExtractor.hxx>

Classes

struct  ControlFrame
 

Public Member Functions

 WsFrameExtractor (Data::size_type maxMessage)
 
 ~WsFrameExtractor ()
 
std::unique_ptr< Data > processBytes (uint8_t *input, Data::size_type len, bool &dropConnection)
 
bool popControlFrame (ControlFrame &frame)
 

Static Public Attributes

static const uint8_t OpContinuation = 0x0
 
static const uint8_t OpText = 0x1
 
static const uint8_t OpBinary = 0x2
 
static const uint8_t OpClose = 0x8
 
static const uint8_t OpPing = 0x9
 
static const uint8_t OpPong = 0xA
 

Detailed Description

Definition at line 13 of file WsFrameExtractor.hxx.

Constructor & Destructor Documentation

◆ WsFrameExtractor()

WsFrameExtractor::WsFrameExtractor ( Data::size_type  maxMessage)

Definition at line 24 of file WsFrameExtractor.cxx.

◆ ~WsFrameExtractor()

WsFrameExtractor::~WsFrameExtractor ( )

Definition at line 44 of file WsFrameExtractor.cxx.

Member Function Documentation

◆ popControlFrame()

bool WsFrameExtractor::popControlFrame ( ControlFrame &  frame)

Definition at line 319 of file WsFrameExtractor.cxx.

◆ processBytes()

std::unique_ptr< Data > WsFrameExtractor::processBytes ( uint8_t *  input,
Data::size_type  len,
bool &  dropConnection 
)

Definition at line 69 of file WsFrameExtractor.cxx.

Member Data Documentation

◆ OpBinary

const uint8_t WsFrameExtractor::OpBinary = 0x2
static

Definition at line 20 of file WsFrameExtractor.hxx.

◆ OpClose

const uint8_t WsFrameExtractor::OpClose = 0x8
static

Definition at line 21 of file WsFrameExtractor.hxx.

◆ OpContinuation

const uint8_t WsFrameExtractor::OpContinuation = 0x0
static

Definition at line 18 of file WsFrameExtractor.hxx.

◆ OpPing

const uint8_t WsFrameExtractor::OpPing = 0x9
static

Definition at line 22 of file WsFrameExtractor.hxx.

◆ OpPong

const uint8_t WsFrameExtractor::OpPong = 0xA
static

Definition at line 23 of file WsFrameExtractor.hxx.

◆ OpText

const uint8_t WsFrameExtractor::OpText = 0x1
static

Definition at line 19 of file WsFrameExtractor.hxx.


The documentation for this class was generated from the following files: