libvisiontransfer  7.0.0
Static Public Member Functions | List of all members
visiontransfer::internal::DataChannelControlUtil Class Reference

Internal helpers for packing and unpacking channel 0 service messages. More...

#include <visiontransfer/datachannel-control.h>

Static Public Member Functions

static DataChannelControlCommands::Command getCommand (unsigned char *data, int datalen)
 
static int packAdvertisementMessage (unsigned char *data, int datalen, DataChannelControlCommands::Command cmd, const std::map< DataChannel::ID, std::shared_ptr< DataChannel > > &channels)
 
static std::vector< DataChannelInfounpackAdvertisementMessage (unsigned char *data, int datalen)
 
static int packSubscriptionMessage (unsigned char *data, int datalen, DataChannelControlCommands::Command cmd, const std::vector< DataChannel::ID > &subscriptions)
 
static std::vector< DataChannel::ID > unpackSubscriptionMessage (unsigned char *data, int datalen)
 

Detailed Description

Internal helpers for packing and unpacking channel 0 service messages.

Definition at line 48 of file datachannel-control.h.


The documentation for this class was generated from the following file:
Nerian Vision Technologies