summaryrefslogtreecommitdiff
path: root/ace/Message_Block.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Message_Block.h')
-rw-r--r--ace/Message_Block.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/Message_Block.h b/ace/Message_Block.h
index 986a42d98de..87cc2d6d488 100644
--- a/ace/Message_Block.h
+++ b/ace/Message_Block.h
@@ -387,6 +387,9 @@ public:
/// @@todo: Not sure whether we would need finer control while
/// trying to access allocators ie. a method for every allocator.
/**
+ * This method returns the allocators only from the first message
+ * block in the chain.
+ *
* @param allocator_strategy Strategy used to allocate the
* underlying buffer
*
@@ -403,6 +406,10 @@ public:
/// Reset all the allocators in the message block.
/// @@todo: Not sure whether we would need finer control while
/// trying to reset allocators ie. a method for every allocator.
+ /**
+ * This method resets the allocators in all the message blocks in
+ * the chain.
+ */
void reset_allocators (ACE_Allocator *allocator_strategy = 0,
ACE_Allocator *data_block_allocator = 0,
ACE_Allocator *message_block_allocator = 0);