diff options
Diffstat (limited to 'TAO/tao/Synch_Queued_Message.h')
-rw-r--r-- | TAO/tao/Synch_Queued_Message.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tao/Synch_Queued_Message.h b/TAO/tao/Synch_Queued_Message.h index 2a8c638abf7..d9587fb10d9 100644 --- a/TAO/tao/Synch_Queued_Message.h +++ b/TAO/tao/Synch_Queued_Message.h @@ -47,8 +47,12 @@ public: /// Constructor /** * @param contents The message block chain that must be sent. + * + * @param alloc The allocator that is used to allocate objects of + * this type. */ - TAO_Synch_Queued_Message (const ACE_Message_Block *contents); + TAO_Synch_Queued_Message (const ACE_Message_Block *contents, + ACE_Allocator *alloc = 0); /// Destructor virtual ~TAO_Synch_Queued_Message (void); @@ -62,6 +66,7 @@ public: virtual int all_data_sent (void) const; virtual void fill_iov (int iovcnt_max, int &iovcnt, iovec iov[]) const; virtual void bytes_transferred (size_t &byte_count); + virtual TAO_Queued_Message *clone (ACE_Allocator *alloc); virtual void destroy (void); //@} |