libvisiontransfer
10.8.0
|
Base class for the data service (background sending and receiving, dispatching to channels)
Definition at line 146 of file datachannelservicebase.h.
#include <visiontransfer/internal/datachannelservicebase.h>
Public Member Functions | |
void | process () |
DataChannel::ID | registerChannel (std::shared_ptr< DataChannel > channel) |
virtual int | sendDataInternal (unsigned char *compiledMessage, unsigned int messageSize, sockaddr_in *recipient) |
int | sendDataIsolatedPacket (DataChannel::ID id, DataChannel::Type type, unsigned char *data, unsigned int dataSize, sockaddr_in *recipient) |
virtual int | handleChannel0Message (DataChannelMessage &message, sockaddr_in *sender)=0 |
Protected Attributes | |
std::map< DataChannel::ID, std::shared_ptr< DataChannel > > | channels |
int | dataChannelSocket |
DataChannelMessage | message |