This commit is contained in:
nnhy 2016-03-14 10:02:48 +00:00
parent f76e896d3b
commit e25874c40b
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ public:
// 消息所占据的指令数据大小。包括头部、负载数据、校验和附加数据
virtual uint Size() const = 0;
// 数据缓冲区大小
// 最大数据大小
virtual uint MaxDataSize() const = 0;
// 从数据流中读取消息

View File

@ -641,7 +641,7 @@ String& TokenStat::ToStr(String& str) const
TS("TokenStat::ToStr");
assert_ptr(this);
debug_printf("this=0x%08X _Last=0x%08X _Total=0x%08X \r\n", this, _Last, _Total);
//debug_printf("this=0x%08X _Last=0x%08X _Total=0x%08X \r\n", this, _Last, _Total);
str = str + "发:" + Percent() + "% " + RecvReply + "/" + SendRequest + " " + Speed() + "ms";
str = str + " 收:" + PercentReply() + "% " + SendReply + "/" + RecvRequest + " 异步" + RecvReplyAsync;
if (Read > 0) str = str + " 读:" + (ReadReply * 100 / Read) + " " + ReadReply + "/" + Read;