Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CWebSocketMessage Class Reference

#include <WebSocket.h>

Public Member Functions

 CWebSocketMessage ()
 
virtual ~CWebSocketMessage ()
 
virtual bool IsFragmented () const
 
virtual bool IsComplete () const
 
virtual bool AddFrame (const CWebSocketFrame *frame)
 
virtual const std::vector< const CWebSocketFrame * > & GetFrames () const
 
virtual void Clear ()
 

Protected Attributes

std::vector< const CWebSocketFrame * > m_frames
 
bool m_fragmented
 
bool m_complete
 

Constructor & Destructor Documentation

◆ CWebSocketMessage()

CWebSocketMessage::CWebSocketMessage ( )

◆ ~CWebSocketMessage()

CWebSocketMessage::~CWebSocketMessage ( )
virtual

Member Function Documentation

◆ AddFrame()

bool CWebSocketMessage::AddFrame ( const CWebSocketFrame * frame)
virtual

◆ Clear()

void CWebSocketMessage::Clear ( )
virtual

◆ GetFrames()

virtual const std::vector< const CWebSocketFrame * > & CWebSocketMessage::GetFrames ( ) const
inlinevirtual

◆ IsComplete()

virtual bool CWebSocketMessage::IsComplete ( ) const
inlinevirtual

◆ IsFragmented()

virtual bool CWebSocketMessage::IsFragmented ( ) const
inlinevirtual

Member Data Documentation

◆ m_complete

bool CWebSocketMessage::m_complete
protected

◆ m_fragmented

bool CWebSocketMessage::m_fragmented
protected

◆ m_frames

std::vector<const CWebSocketFrame *> CWebSocketMessage::m_frames
protected

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