Data Fields
vtm_socket_emitter Struct Reference

Data Fields

vtm_socket * sock
 
uint64_t length
 
enum vtm_socket_emitter_result(* vtm_sock_emt_write )(struct vtm_socket_emitter *se)
 
void(* vtm_sock_emt_clean )(struct vtm_socket_emitter *se)
 
struct vtm_socket_emitternext
 

Field Documentation

vtm_socket* vtm_socket_emitter::sock

the socket that is used by the transmitter

uint64_t vtm_socket_emitter::length

length of data in bytes

enum vtm_socket_emitter_result(* vtm_socket_emitter::vtm_sock_emt_write)(struct vtm_socket_emitter *se)

function that is called when the emitter should write data

void(* vtm_socket_emitter::vtm_sock_emt_clean)(struct vtm_socket_emitter *se)

function that is called when the emitter is released

struct vtm_socket_emitter* vtm_socket_emitter::next

pointer to next emitter in chain