mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Rename SrsConnection to SrsTcpConnection
This commit is contained in:
parent
2135b638b1
commit
88826aae8f
16 changed files with 49 additions and 47 deletions
|
@ -40,7 +40,7 @@
|
|||
#include <srs_app_gb28181_sip.hpp>
|
||||
|
||||
class SrsServer;
|
||||
class SrsConnection;
|
||||
class SrsTcpConnection;
|
||||
class SrsHttpServeMux;
|
||||
class SrsHttpServer;
|
||||
class SrsIngester;
|
||||
|
@ -257,7 +257,7 @@ private:
|
|||
// maybe valid but the process is not SRS, the init.d script will never start server.
|
||||
int pid_fd;
|
||||
// All connections, connection manager
|
||||
std::vector<SrsConnection*> conns;
|
||||
std::vector<SrsTcpConnection*> conns;
|
||||
// All listners, listener manager.
|
||||
std::vector<SrsListener*> listeners;
|
||||
// Signal manager which convert gignal to io message.
|
||||
|
@ -343,12 +343,12 @@ public:
|
|||
// TODO: FIXME: Fetch from hybrid server manager.
|
||||
virtual SrsHttpServeMux* api_server();
|
||||
private:
|
||||
virtual srs_error_t fd2conn(SrsListenerType type, srs_netfd_t stfd, SrsConnection** pconn);
|
||||
virtual srs_error_t fd2conn(SrsListenerType type, srs_netfd_t stfd, SrsTcpConnection** pconn);
|
||||
// Interface IConnectionManager
|
||||
public:
|
||||
// A callback for connection to remove itself.
|
||||
// When connection thread cycle terminated, callback this to delete connection.
|
||||
// @see SrsConnection.on_thread_stop().
|
||||
// @see SrsTcpConnection.on_thread_stop().
|
||||
virtual void remove(ISrsConnection* c);
|
||||
// Interface ISrsReloadHandler.
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue