A very general kind of address consisting of a port number and a number of bytes describing the host address.
More...
#include <rtpbyteaddress.h>
|
| RTPByteAddress (const uint8_t hostaddress[RTPBYTEADDRESS_MAXLENGTH], size_t addrlen, uint16_t port=0) |
| Creates an instance of the class using addrlen bytes of hostaddress as host identification, and using port as the port number. More...
|
|
void | SetHostAddress (const uint8_t hostaddress[RTPBYTEADDRESS_MAXLENGTH], size_t addrlen) |
| Sets the host address to the first addrlen bytes of hostaddress . More...
|
|
void | SetPort (uint16_t port) |
| Sets the port number to port . More...
|
|
const uint8_t * | GetHostAddress () const |
| Returns a pointer to the stored host address. More...
|
|
size_t | GetHostAddressLength () const |
| Returns the length in bytes of the stored host address. More...
|
|
uint16_t | GetPort () const |
| Returns the port number stored in this instance. More...
|
|
AddressType | GetAddressType () const |
| Returns the type of address the actual implementation represents. More...
|
|
A very general kind of address, consisting of a port number and a number of bytes describing the host address.
jrtplib::RTPByteAddress::RTPByteAddress |
( |
const uint8_t |
hostaddress[RTPBYTEADDRESS_MAXLENGTH], |
|
|
size_t |
addrlen, |
|
|
uint16_t |
port = 0 |
|
) |
| |
|
inline |
const uint8_t* jrtplib::RTPByteAddress::GetHostAddress |
( |
| ) |
const |
|
inline |
size_t jrtplib::RTPByteAddress::GetHostAddressLength |
( |
| ) |
const |
|
inline |
uint16_t jrtplib::RTPByteAddress::GetPort |
( |
| ) |
const |
|
inline |
void jrtplib::RTPByteAddress::SetHostAddress |
( |
const uint8_t |
hostaddress[RTPBYTEADDRESS_MAXLENGTH], |
|
|
size_t |
addrlen |
|
) |
| |
|
inline |
void jrtplib::RTPByteAddress::SetPort |
( |
uint16_t |
port | ) |
|
|
inline |
The documentation for this class was generated from the following file: