summaryrefslogtreecommitdiff
path: root/server/src/transactionparser.h
diff options
context:
space:
mode:
authordeva <deva>2008-09-23 08:10:37 +0000
committerdeva <deva>2008-09-23 08:10:37 +0000
commitefb0b27f5bc659a49e330fb7970a9b1b6ae0f398 (patch)
tree4872d87d301ea5d31c7b2e7f0435ec9318222086 /server/src/transactionparser.h
parent587f685b6f7cbc63a8ee8dc8b3d5c590144db045 (diff)
Made fix for the 'multiple xml buffers in single network buffer' problem.
Diffstat (limited to 'server/src/transactionparser.h')
-rw-r--r--server/src/transactionparser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/transactionparser.h b/server/src/transactionparser.h
index 3f477c9..1f7d23f 100644
--- a/server/src/transactionparser.h
+++ b/server/src/transactionparser.h
@@ -43,10 +43,14 @@ public:
bool parse(std::string data);
+ unsigned int usedBytes();
+
protected:
int readData(char *data, size_t size);
private:
+ unsigned int bufferbytes;
+ unsigned int totalbytes;
Transaction *transaction;
bool done;
};