diff options
Diffstat (limited to 'anyrtpproxy/options.cpp')
-rw-r--r-- | anyrtpproxy/options.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/anyrtpproxy/options.cpp b/anyrtpproxy/options.cpp index 2acc597..94825c1 100644 --- a/anyrtpproxy/options.cpp +++ b/anyrtpproxy/options.cpp @@ -255,3 +255,21 @@ HostList Options::getRemoteHosts() Lock lock(mutex); return remote_hosts_; } + +u_int16_t Options::getLocalSyncPort() +{ + return local_sync_port_; +} + +Options& Options::setLocalSyncPort(u_int16_t l) +{ + local_sync_port_ = l; + return *this; +} + +ConnectToList Options::getConnectTo() +{ + Lock lock(mutex); + return connect_to_; +} + |