DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerator
media
file
udp_file_win.cc
1
// Copyright 2015 Google Inc. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
7
#include "packager/media/file/udp_file.h"
8
9
#include "packager/base/logging.h"
10
11
namespace
edash_packager {
12
namespace
media {
13
14
UdpFile::UdpFile
(
const
char
* file_name) : File(file_name), socket_(0) {
15
}
16
17
UdpFile::~UdpFile() {}
18
19
bool
UdpFile::Close
() {
20
NOTIMPLEMENTED();
21
delete
this
;
22
return
false
;
23
}
24
25
int64_t
UdpFile::Read
(
void
* buffer, uint64_t length) {
26
NOTIMPLEMENTED();
27
return
-1;
28
}
29
30
int64_t
UdpFile::Write
(
const
void
* buffer, uint64_t length) {
31
NOTIMPLEMENTED();
32
return
-1;
33
}
34
35
int64_t
UdpFile::Size
() {
36
NOTIMPLEMENTED();
37
return
-1;
38
}
39
40
bool
UdpFile::Flush
() {
41
NOTIMPLEMENTED();
42
return
false
;
43
}
44
45
bool
UdpFile::Seek
(uint64_t position) {
46
NOTIMPLEMENTED();
47
return
false
;
48
}
49
50
bool
UdpFile::Tell
(uint64_t* position) {
51
NOTIMPLEMENTED();
52
return
false
;
53
}
54
55
bool
UdpFile::Open
() {
56
NOTIMPLEMENTED();
57
return
false
;
58
}
59
60
}
// namespace media
61
}
// namespace edash_packager
edash_packager::media::UdpFile::UdpFile
UdpFile(const char *address_and_port)
Definition:
udp_file_posix.cc:84
edash_packager::media::UdpFile::Tell
bool Tell(uint64_t *position) override
Definition:
udp_file_posix.cc:137
edash_packager::media::UdpFile::Seek
bool Seek(uint64_t position) override
Definition:
udp_file_posix.cc:132
edash_packager::media::UdpFile::Size
int64_t Size() override
Definition:
udp_file_posix.cc:120
edash_packager::media::UdpFile::Write
int64_t Write(const void *buffer, uint64_t length) override
Definition:
udp_file_posix.cc:115
edash_packager::media::UdpFile::Close
bool Close() override
Definition:
udp_file_posix.cc:90
edash_packager::media::UdpFile::Flush
bool Flush() override
Definition:
udp_file_posix.cc:127
edash_packager::media::UdpFile::Read
int64_t Read(void *buffer, uint64_t length) override
Definition:
udp_file_posix.cc:99
edash_packager::media::UdpFile::Open
bool Open() override
Internal open. Should not be used directly.
Definition:
udp_file_posix.cc:166
Generated on Wed Mar 2 2016 18:02:55 for DASH Media Packaging SDK by
1.8.6