Implements UdpFile, which receives UDP unicast and multicast streams.
More...
#include <udp_file.h>
|
| | UdpFile (const char *address_and_port) |
| |
|
| bool | Close () override |
| |
| int64_t | Read (void *buffer, uint64_t length) override |
| |
| int64_t | Write (const void *buffer, uint64_t length) override |
| |
| void | CloseForWriting () override |
| |
| int64_t | Size () override |
| |
| bool | Flush () override |
| |
| bool | Seek (uint64_t position) override |
| |
| bool | Tell (uint64_t *position) override |
| |
Implements UdpFile, which receives UDP unicast and multicast streams.
Definition at line 26 of file udp_file.h.
◆ UdpFile()
| shaka::UdpFile::UdpFile |
( |
const char * |
address_and_port | ) |
|
|
explicit |
- Parameters
-
| file_name | C string containing the address of the stream to receive. It should be of the form "<ip_address>:<port>". |
Definition at line 58 of file udp_file.cc.
◆ ~UdpFile()
| shaka::UdpFile::~UdpFile |
( |
| ) |
|
|
overrideprotected |
◆ Close()
| bool shaka::UdpFile::Close |
( |
| ) |
|
|
override |
◆ CloseForWriting()
| void shaka::UdpFile::CloseForWriting |
( |
| ) |
|
|
override |
◆ Flush()
| bool shaka::UdpFile::Flush |
( |
| ) |
|
|
override |
◆ Open()
| bool shaka::UdpFile::Open |
( |
| ) |
|
|
overrideprotected |
◆ Read()
| int64_t shaka::UdpFile::Read |
( |
void * |
buffer, |
|
|
uint64_t |
length |
|
) |
| |
|
override |
◆ Seek()
| bool shaka::UdpFile::Seek |
( |
uint64_t |
position | ) |
|
|
override |
◆ Size()
| int64_t shaka::UdpFile::Size |
( |
| ) |
|
|
override |
◆ Tell()
| bool shaka::UdpFile::Tell |
( |
uint64_t * |
position | ) |
|
|
override |
◆ Write()
| int64_t shaka::UdpFile::Write |
( |
const void * |
buffer, |
|
|
uint64_t |
length |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: