class MgcpUdpTransmitter : public MgcpUdpStack


Inheritance:


Public Fields

int bytesTransmitted
int packetsTransmitted

Public Methods

MgcpUdpPacket* allocatePacket( int payloadLength )
will allocate a packet and fill in UDP header fields
MgcpUdpTransmitter( const char* destinationName, int port = 5004 )
MgcpUdpTransmitter& operator=(const MgcpUdpTransmitter& x)
void transmit( MgcpUdpPacket* packet )
Stack will free this packet when it is done with it so it must be alloacted on the heap
void transmit( char* data, int length )
transmit the data

Inherited from MgcpUdpStack:

Protected Fields

int port
struct sockaddr_in rxAddress
int socketFd
struct sockaddr_in txAddress

Documentation

MgcpUdpTransmitter( const char* destinationName, int port = 5004 )

void transmit( char* data, int length )
transmit the data

void transmit( MgcpUdpPacket* packet )
Stack will free this packet when it is done with it so it must be alloacted on the heap

MgcpUdpPacket* allocatePacket( int payloadLength )
will allocate a packet and fill in UDP header fields

MgcpUdpTransmitter& operator=(const MgcpUdpTransmitter& x)

int bytesTransmitted

int packetsTransmitted


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++