This commit is contained in:
Jeff Becker committed 2018-05-06 09:53:03 -04:00
1 parent 657b285375
commit 4244345eff
4 files changed
+2 -11

No files matched your search

@@ -11,14 +11,10 @@ namespace nntpchan
class LineReader
{
public:
LineReader(size_t lineLimit);
/** @brief queue inbound data from connection */
void Data(const char *data, ssize_t s);
/** implements IConnHandler */
virtual bool ShouldClose();
protected:
/** @brief handle a line from the client */
virtual void HandleLine(const std::string line) = 0;
@@ -27,8 +23,6 @@ private:
std::stringstream m_line;
std::string m_leftover;
bool m_close;
const size_t lineLimit;
};
}