X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FTransport.hpp;h=6b6b24c7e13585a981b01d7a8e63876818fdf200;hb=0e992a5c0f14d91268d00304d90c7073499ff54e;hp=0cd74a65918f9937a5c83e58734867e034e644e0;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/comm/Transport.hpp b/include/anna/comm/Transport.hpp index 0cd74a6..6b6b24c 100644 --- a/include/anna/comm/Transport.hpp +++ b/include/anna/comm/Transport.hpp @@ -42,6 +42,14 @@ class Message; sincronizarse nunca mas. */ class Transport { + + static const int MinOverQuotaSize = 512; + + int a_overQuotaSize; + Message* a_inputMessage; + + static Message* nullInputMessage() throw(RuntimeException); + public: /** Maximum number of bytes kept by each ClientSocket without identifying @@ -171,13 +179,8 @@ protected: void setInputMessage(Message* inputMessage) throw() { a_inputMessage = inputMessage; } private: - static const int MinOverQuotaSize = 512; - int a_overQuotaSize; - Message* a_inputMessage; bool a_enableTimeout; - - static Message* nullInputMessage() throw(RuntimeException); }; }