xbmc
Public Member Functions | Protected Attributes | List of all members
CWebSocketFrame Class Reference
Collaboration diagram for CWebSocketFrame:
Collaboration graph
[legend]

Public Member Functions

 CWebSocketFrame (const char *data, uint64_t length)
 
 CWebSocketFrame (WebSocketFrameOpcode opcode, const char *data=NULL, uint32_t length=0, bool final=true, bool masked=false, int32_t mask=0, int8_t extension=0)
 
virtual bool IsValid () const
 
virtual uint64_t GetFrameLength () const
 
virtual bool IsFinal () const
 
virtual int8_t GetExtension () const
 
virtual WebSocketFrameOpcode GetOpcode () const
 
virtual bool IsControlFrame () const
 
virtual bool IsMasked () const
 
virtual uint64_t GetLength () const
 
virtual int32_t GetMask () const
 
virtual const char * GetFrameData () const
 
virtual const char * GetApplicationData () const
 

Protected Attributes

bool m_free
 
const char * m_data
 
uint64_t m_lengthFrame
 
uint64_t m_length
 
bool m_valid
 
bool m_final
 
int8_t m_extension
 
WebSocketFrameOpcode m_opcode
 
bool m_masked
 
int32_t m_mask
 
char * m_applicationData
 

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