summaryrefslogtreecommitdiff
path: root/ace/Message_Block.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2002-05-12 16:59:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2002-05-12 16:59:18 +0000
commita10ecc87d5d9e35a5082ffcdabd16ea259d3b26f (patch)
treec213663d3398032b24aa12deb4ca2d8cbc533e23 /ace/Message_Block.h
parentfcd83738c2e298c370647aee3c7a8a3c8585ca0b (diff)
downloadATCD-a10ecc87d5d9e35a5082ffcdabd16ea259d3b26f.tar.gz
ChangeLogTag:Sun May 12 10:11:07 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r--ace/Message_Block.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h
index 3cf6ab460cd..f59808ddd53 100644
--- a/ace/Message_Block.h
+++ b/ace/Message_Block.h
@@ -442,6 +442,11 @@ public:
/// chained <Message_Block>s.
size_t total_size (void) const;
+ /// Get the total number of bytes and total length in all
+ /// <Message_Block>s, including chained <Message_Block>s.
+ void total_size_and_length (size_t &mb_size,
+ size_t &mb_length) const;
+
/// Get the number of bytes in the top-level <Message_Block> (i.e.,
/// does not consider the bytes in chained <Message_Block>s).
size_t size (void) const;