mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-18 06:02:21 +08:00
TcpSession/UdpSession统一为Session类
This commit is contained in:
@@ -24,7 +24,7 @@ static onceToken s_token([]() {
|
||||
REGIST_CMD(media);
|
||||
}, nullptr);
|
||||
|
||||
ShellSession::ShellSession(const Socket::Ptr &_sock) : TcpSession(_sock) {
|
||||
ShellSession::ShellSession(const Socket::Ptr &_sock) : Session(_sock) {
|
||||
DebugP(this);
|
||||
pleaseInputUser();
|
||||
}
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
#include <functional>
|
||||
#include "Common/config.h"
|
||||
#include "Util/TimeTicker.h"
|
||||
#include "Network/TcpSession.h"
|
||||
#include "Network/Session.h"
|
||||
|
||||
namespace mediakit {
|
||||
|
||||
class ShellSession: public toolkit::TcpSession {
|
||||
class ShellSession: public toolkit::Session {
|
||||
public:
|
||||
ShellSession(const toolkit::Socket::Ptr &_sock);
|
||||
virtual ~ShellSession();
|
||||
|
||||
Reference in New Issue
Block a user