移除废弃接口

This commit is contained in:
xiongziliang
2018-12-20 10:42:51 +08:00
parent 5deecaf954
commit 1d13aa84fa
10 changed files with 13 additions and 300 deletions

View File

@@ -33,9 +33,7 @@ using namespace toolkit;
namespace mediakit {
ShellSession::ShellSession(const std::shared_ptr<ThreadPool> &_th,
const Socket::Ptr &_sock) :
TcpSession(_th, _sock) {
ShellSession::ShellSession(const Socket::Ptr &_sock) : TcpSession(_sock) {
pleaseInputUser();
}

View File

@@ -37,7 +37,7 @@ namespace mediakit {
class ShellSession: public TcpSession {
public:
ShellSession(const std::shared_ptr<ThreadPool> &_th, const Socket::Ptr &_sock);
ShellSession(const Socket::Ptr &_sock);
virtual ~ShellSession();
void onRecv(const Buffer::Ptr &) override;