Blame view

trunk/src/app/srs_app_reload.cpp 3.8 KB
winlin authored
1 2 3
/*
The MIT License (MIT)
4
Copyright (c) 2013-2015 winlin
winlin authored
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
24
#include <srs_app_reload.hpp>
winlin authored
25
winlin authored
26 27
using namespace std;
28
#include <srs_kernel_error.hpp>
winlin authored
29
30
ISrsReloadHandler::ISrsReloadHandler()
winlin authored
31 32 33
{
}
34
ISrsReloadHandler::~ISrsReloadHandler()
winlin authored
35 36 37
{
}
38
int ISrsReloadHandler::on_reload_listen()
winlin authored
39
{
40
    return ERROR_SUCCESS;
winlin authored
41 42
}
winlin authored
43 44 45 46 47
int ISrsReloadHandler::on_reload_pid()
{
    return ERROR_SUCCESS;
}
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
int ISrsReloadHandler::on_reload_log_tank()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_log_level()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_log_file()
{
    return ERROR_SUCCESS;
}
63
int ISrsReloadHandler::on_reload_pithy_print()
winlin authored
64
{
65
    return ERROR_SUCCESS;
winlin authored
66 67
}
winlin authored
68 69 70 71 72 73 74 75 76 77
int ISrsReloadHandler::on_reload_http_api_enabled()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_http_api_disabled()
{
    return ERROR_SUCCESS;
}
winlin authored
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
int ISrsReloadHandler::on_reload_http_stream_enabled()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_http_stream_disabled()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_http_stream_updated()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_vhost_http_updated()
{
    return ERROR_SUCCESS;
}
98 99 100 101 102
int ISrsReloadHandler::on_reload_vhost_added(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
winlin authored
103 104
int ISrsReloadHandler::on_reload_vhost_removed(string /*vhost*/)
{
105
    return ERROR_SUCCESS;
winlin authored
106 107
}
108
int ISrsReloadHandler::on_reload_vhost_atc(string /*vhost*/)
winlin authored
109 110 111 112
{
    return ERROR_SUCCESS;
}
113
int ISrsReloadHandler::on_reload_vhost_gop_cache(string /*vhost*/)
114
{
115
    return ERROR_SUCCESS;
116 117
}
118
int ISrsReloadHandler::on_reload_vhost_queue_length(string /*vhost*/)
winlin authored
119
{
120
    return ERROR_SUCCESS;
winlin authored
121 122
}
123 124 125 126 127
int ISrsReloadHandler::on_reload_vhost_time_jitter(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
128
int ISrsReloadHandler::on_reload_vhost_forward(string /*vhost*/)
winlin authored
129
{
130
    return ERROR_SUCCESS;
winlin authored
131 132
}
133
int ISrsReloadHandler::on_reload_vhost_hls(string /*vhost*/)
134
{
135
    return ERROR_SUCCESS;
136 137
}
winlin authored
138 139 140 141 142
int ISrsReloadHandler::on_reload_vhost_dvr(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
143 144 145 146 147
int ISrsReloadHandler::on_reload_vhost_mr(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
148 149 150 151 152
int ISrsReloadHandler::on_reload_vhost_mw(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
153 154 155 156 157
int ISrsReloadHandler::on_reload_vhost_realtime(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
158 159 160 161 162
int ISrsReloadHandler::on_reload_vhost_chunk_size(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
163
int ISrsReloadHandler::on_reload_vhost_transcode(string /*vhost*/)
164
{
165
    return ERROR_SUCCESS;
166 167
}
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
int ISrsReloadHandler::on_reload_ingest_removed(string /*vhost*/, string /*ingest_id*/)
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_ingest_added(string /*vhost*/, string /*ingest_id*/)
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_ingest_updated(string /*vhost*/, string /*ingest_id*/)
{
    return ERROR_SUCCESS;
}
183