mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-16 13:05:59 +08:00
tab统一替换为4个空格键:#242
This commit is contained in:
@@ -37,23 +37,23 @@ namespace mediakit {
|
||||
|
||||
class ShellSession: public TcpSession {
|
||||
public:
|
||||
ShellSession(const Socket::Ptr &_sock);
|
||||
virtual ~ShellSession();
|
||||
ShellSession(const Socket::Ptr &_sock);
|
||||
virtual ~ShellSession();
|
||||
|
||||
void onRecv(const Buffer::Ptr &) override;
|
||||
void onRecv(const Buffer::Ptr &) override;
|
||||
void onError(const SockException &err) override;
|
||||
void onManager() override;
|
||||
void onManager() override;
|
||||
|
||||
private:
|
||||
inline bool onCommandLine(const string &);
|
||||
inline void pleaseInputUser();
|
||||
inline void pleaseInputPasswd();
|
||||
inline void printShellPrefix();
|
||||
inline bool onCommandLine(const string &);
|
||||
inline void pleaseInputUser();
|
||||
inline void pleaseInputPasswd();
|
||||
inline void printShellPrefix();
|
||||
|
||||
function<bool(const string &)> _loginInterceptor;
|
||||
string _strRecvBuf;
|
||||
Ticker _beatTicker;
|
||||
string _strUserName;
|
||||
function<bool(const string &)> _loginInterceptor;
|
||||
string _strRecvBuf;
|
||||
Ticker _beatTicker;
|
||||
string _strUserName;
|
||||
};
|
||||
|
||||
} /* namespace mediakit */
|
||||
|
||||
Reference in New Issue
Block a user