Still parsing work.
This commit is contained in:
1 parent
d79697775b
commit
ba85c5f2e5
6 files changed
+21
-56
No files matched your search
@@ -12,7 +12,7 @@ namespace coreutils {
|
||||
/// consistency regardless of the packet delivery for the stream.
|
||||
///
|
||||
|
||||
class Parser {
|
||||
class Parser : public MString {
|
||||
|
||||
public:
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace coreutils {
|
||||
///
|
||||
///
|
||||
|
||||
Parser(StreamReader &reader, Parser *parser);
|
||||
Parser(int socket);
|
||||
|
||||
///
|
||||
///
|
||||
@@ -28,7 +28,8 @@ namespace coreutils {
|
||||
|
||||
enum class Status {
|
||||
COMPLETE,
|
||||
INCOMPLETE
|
||||
INCOMPLETE,
|
||||
DATA_AVAIL
|
||||
};
|
||||
|
||||
///
|
||||
@@ -60,6 +61,7 @@ namespace coreutils {
|
||||
MString buffer;
|
||||
|
||||
private:
|
||||
int socket;
|
||||
Parser *parser;
|
||||
vector<Parser *> chain;
|
||||
|
||||
|
||||
Reference in new issue
Block a user