winpty/TestNetServer/Session.h

29 lines
404 B
C
Raw Normal View History

#ifndef SESSION_H
#define SESSION_H
#include <QObject>
class QTcpSocket;
class AgentClient;
class Session : public QObject
{
Q_OBJECT
public:
explicit Session(QTcpSocket *socket, QObject *parent = 0);
signals:
public slots:
private slots:
void onSocketReadyRead();
void onAgentReadyRead();
private:
QTcpSocket *m_socket;
AgentClient *m_agentClient;
};
#endif // SESSION_H