summaryrefslogtreecommitdiff
path: root/ace/CDR_Stream.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-26 18:33:47 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-02-26 18:33:47 +0000
commit4172c340f831fdd8fbb73e17ba5fb771196e33a5 (patch)
tree52c6029d25b891b70dd49655f1bd77f257a56566 /ace/CDR_Stream.h
parentec2870cc135a6cbc87acd7b9d6e9a2ea03a27775 (diff)
downloadATCD-4172c340f831fdd8fbb73e17ba5fb771196e33a5.tar.gz
ChangeLogTag: Mon Feb 26 12:27:46 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'ace/CDR_Stream.h')
-rw-r--r--ace/CDR_Stream.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/ace/CDR_Stream.h b/ace/CDR_Stream.h
index dd2f97df094..e1e4c0c3e77 100644
--- a/ace/CDR_Stream.h
+++ b/ace/CDR_Stream.h
@@ -311,6 +311,12 @@ public:
/// this is only meaningful if ACE_ENABLE_SWAP_ON_WRITE is defined.
int do_byte_swap (void) const;
+ /// For use by a gateway, which creates the output stream for the
+ /// reply to the client in its native byte order, but which must
+ /// send the reply in the byte order of the target's reply to the
+ /// gateway.
+ void reset_byte_order (int byte_order);
+
private:
/// disallow copying...
ACE_OutputCDR (const ACE_OutputCDR& rhs);
@@ -677,8 +683,8 @@ public:
/// this is only meaningful if ACE_ENABLE_SWAP_ON_WRITE is defined.
int do_byte_swap (void) const;
- /// If <do_byte_swap> returns 1, this returns ACE_CDR_BYTE_ORDER else
- /// it returns ~ACE_CDR_BYTE_ORDER.
+ /// If <do_byte_swap> returns 0, this returns ACE_CDR_BYTE_ORDER else
+ /// it returns !ACE_CDR_BYTE_ORDER.
int byte_order (void) const;
/// Access the codeset translators. They can be nil!