mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
1661876633
commit
8bf677e3c8
3 changed files with 7 additions and 1 deletions
|
@ -347,6 +347,8 @@ private:
|
||||||
// Interface ISrsOneCycleThreadHandler
|
// Interface ISrsOneCycleThreadHandler
|
||||||
public:
|
public:
|
||||||
virtual srs_error_t cycle();
|
virtual srs_error_t cycle();
|
||||||
|
// Interface ISrsConnection.
|
||||||
|
public:
|
||||||
virtual std::string remote_ip();
|
virtual std::string remote_ip();
|
||||||
virtual const SrsContextId& get_id();
|
virtual const SrsContextId& get_id();
|
||||||
virtual std::string desc();
|
virtual std::string desc();
|
||||||
|
|
|
@ -143,6 +143,8 @@ public:
|
||||||
// Interface ISrsOneCycleThreadHandler
|
// Interface ISrsOneCycleThreadHandler
|
||||||
public:
|
public:
|
||||||
virtual srs_error_t cycle();
|
virtual srs_error_t cycle();
|
||||||
|
// Interface ISrsConnection.
|
||||||
|
public:
|
||||||
virtual std::string remote_ip();
|
virtual std::string remote_ip();
|
||||||
virtual const SrsContextId& get_id();
|
virtual const SrsContextId& get_id();
|
||||||
virtual std::string desc();
|
virtual std::string desc();
|
||||||
|
|
|
@ -40,6 +40,8 @@ public:
|
||||||
public:
|
public:
|
||||||
MockSrsConnection();
|
MockSrsConnection();
|
||||||
virtual ~MockSrsConnection();
|
virtual ~MockSrsConnection();
|
||||||
|
// Interface ISrsConnection.
|
||||||
|
public:
|
||||||
virtual const SrsContextId& get_id();
|
virtual const SrsContextId& get_id();
|
||||||
virtual std::string desc();
|
virtual std::string desc();
|
||||||
virtual std::string remote_ip();
|
virtual std::string remote_ip();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue