summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Locate_Header.h
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-12-07 23:49:59 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-12-07 23:49:59 +0000
commit9c59765bf00cb46c2638e0ad7edf2fcc1eea000e (patch)
treef581994603321ef174fa5d9ea2a56cf6adbabc28 /TAO/tao/GIOP_Message_Locate_Header.h
parent02cc34690ecada2356e3ea9cbe358e2441a46ff2 (diff)
downloadATCD-9c59765bf00cb46c2638e0ad7edf2fcc1eea000e.tar.gz
ChangeLogTag: Thu Dec 7 17:36:47 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_Locate_Header.h')
-rw-r--r--TAO/tao/GIOP_Message_Locate_Header.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/TAO/tao/GIOP_Message_Locate_Header.h b/TAO/tao/GIOP_Message_Locate_Header.h
new file mode 100644
index 00000000000..392ec131b71
--- /dev/null
+++ b/TAO/tao/GIOP_Message_Locate_Header.h
@@ -0,0 +1,79 @@
+// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// GIOP_Message_Headers.h
+//
+// = DESCRIPTION
+// Some assorted GIOP structure mappings
+//
+// = AUTHOR
+// Balachandran Natarajan <bala@cs.wustl.edu>
+//
+// ============================================================================
+
+#ifndef TAO_GIOP_MESSAGE_LOCATE_HEADER_H
+#define TAO_GIOP_MESSAGE_LOCATE_HEADER_H
+#include "ace/pre.h"
+
+#include "tao/Tagged_Profile.h"
+
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+
+class TAO_Export TAO_GIOP_Locate_Request_Header
+{
+ // = TITLE
+ // Location service support
+public:
+
+ TAO_GIOP_Locate_Request_Header (TAO_InputCDR &msg,
+ TAO_ORB_Core *core);
+ // Constructor
+
+ void request_id (CORBA::ULong id);
+ // Set the id
+
+ CORBA::ULong request_id (void);
+ // Get the request id
+
+ const TAO_ObjectKey &object_key (void) const;
+ // Get the object_key in read mode..
+
+ TAO_ObjectKey &object_key (void);
+ // Get the object_key in read/write mode..
+
+ TAO_Tagged_Profile &profile (void);
+ // Get the reference to the underlying profile
+
+ TAO_InputCDR &incoming_stream (void);
+ // Get the CDR stream for read/write
+
+private:
+ CORBA::ULong request_id_;
+ // Request id
+
+ TAO_Tagged_Profile profile_;
+ // Profile info.
+
+ TAO_ObjectKey object_key_;
+ // Object Key
+
+ TAO_InputCDR *incoming_;
+ // Incoming CDR stream
+};
+
+#if defined (__ACE_INLINE__)
+# include "tao/GIOP_Message_Headers.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /*TAO_GIOP_MESSAGE_LOCATE_HEADER_H*/