1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine code, rename SrsSocket to SrsStSocket

This commit is contained in:
winlin 2014-07-26 20:08:37 +08:00
parent b19d2e8e2d
commit 6ee9ea341a
16 changed files with 106 additions and 106 deletions

View file

@ -32,7 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifdef SRS_AUTO_HTTP_API
class SrsSocket;
class SrsStSocket;
class SrsHttpMessage;
class SrsHttpParser;
class SrsHttpHandler;
@ -51,7 +51,7 @@ public:
virtual bool is_handler_valid(SrsHttpMessage* req, int& status_code, std::string& reason_phrase);
protected:
virtual bool can_handle(const char* path, int length, const char** pchild);
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiApi : public SrsHttpHandler
@ -62,7 +62,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiV1 : public SrsHttpHandler
@ -73,7 +73,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiRequests : public SrsHttpHandler
@ -84,7 +84,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiVersion : public SrsHttpHandler
@ -95,7 +95,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiSummaries : public SrsHttpHandler
@ -106,7 +106,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiRusages : public SrsHttpHandler
@ -117,7 +117,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiSelfProcStats : public SrsHttpHandler
@ -128,7 +128,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiSystemProcStats : public SrsHttpHandler
@ -139,7 +139,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiMemInfos : public SrsHttpHandler
@ -150,7 +150,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsApiAuthors : public SrsHttpHandler
@ -161,7 +161,7 @@ public:
public:
virtual bool can_handle(const char* path, int length, const char** pchild);
protected:
virtual int do_process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
class SrsHttpApi : public SrsConnection
@ -182,7 +182,7 @@ public:
protected:
virtual int do_cycle();
private:
virtual int process_request(SrsSocket* skt, SrsHttpMessage* req);
virtual int process_request(SrsStSocket* skt, SrsHttpMessage* req);
};
#endif