#ifndef SESSION_H #define SESSION_H #include 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(); void cleanup(); private: void initializeAgent(int cols, int rows); private: QTcpSocket *m_socket; AgentClient *m_agentClient; }; #endif // SESSION_H