| 616 | |
| 617 | |
| 618 | SrtModel::SrtModel(string host, int port, map<string,string> par) |
| 619 | { |
| 620 | InitParameters(host, par); |
| 621 | if (m_mode == "caller") |
| 622 | is_caller = true; |
| 623 | else if (m_mode != "listener") |
| 624 | throw std::invalid_argument("Only caller and listener modes supported"); |
| 625 | |
| 626 | m_host = host; |
| 627 | m_port = port; |
| 628 | } |
| 629 | |
| 630 | void SrtModel::Establish(std::string& w_name) |
| 631 | { |
nothing calls this directly
no outgoing calls
no test coverage detected