summaryrefslogtreecommitdiff
path: root/ace/CDR_Stream.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-10 01:52:33 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-10 01:52:33 +0000
commite34ab1057bb644f011959028ade8d8e360e5c8af (patch)
tree9f8bd6228e96ffaf1c07d9843ea230b2c9ca2a18 /ace/CDR_Stream.h
parent6acb1385292b59eb4ce1538ff849f76db197b618 (diff)
downloadATCD-e34ab1057bb644f011959028ade8d8e360e5c8af.tar.gz
ChangeLogTag:Wed Jun 9 20:40:50 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r--ace/CDR_Stream.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h
index aea71014629..cff1f7f38da 100644
--- a/ace/CDR_Stream.h
+++ b/ace/CDR_Stream.h
@@ -704,7 +704,7 @@ public:
// CDR stream from a socket or file.
int grow (size_t newsize);
- // Grow the internal buffer, reset rd_ptr() to the first byte in the
+ // Grow the internal buffer, reset rd_ptr() to the first byte in the
// new buffer that is properly aligned, and set wr_ptr() to
// rd_ptr() + newsize
@@ -713,6 +713,15 @@ public:
// detect a change in the byte order, this method will let him
// change it.
+ void reset (const ACE_Message_Block *data,
+ int byte_order);
+ // Re-initialize the CDR stream, copying the contents of the chain
+ // of message_blocks starting from <data>.
+
+ ACE_Message_Block * steal_contents (void);
+ // Re-initialize the CDR stream, copying the contents of the chain
+ // of message_blocks starting from <data>.
+
char* rd_ptr (void);
// Returns the current position for the rd_ptr....