3 //=============================================================================
5 * @file GIOP_Message_Locate_Header.h
7 * Some assorted GIOP structure mappings
9 * @author Balachandran Natarajan <bala@cs.wustl.edu>
11 //=============================================================================
14 #ifndef TAO_GIOP_MESSAGE_LOCATE_HEADER_H
15 #define TAO_GIOP_MESSAGE_LOCATE_HEADER_H
17 #include /**/ "ace/pre.h"
19 #include "tao/Tagged_Profile.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 * @class TAO_GIOP_Locate_Request_Header
30 * @brief Location service support
32 class TAO_GIOP_Locate_Request_Header
36 TAO_GIOP_Locate_Request_Header (TAO_InputCDR
&msg
,
40 void request_id (CORBA::ULong id
);
42 /// Get the request id
43 CORBA::ULong
request_id () const;
45 /// Get the object_key in read mode..
46 const TAO::ObjectKey
&object_key () const;
48 /// Get the object_key in read/write mode..
49 TAO::ObjectKey
&object_key ();
51 /// Get the reference to the underlying profile
52 TAO_Tagged_Profile
&profile ();
54 /// Get the CDR stream for read/write
55 TAO_InputCDR
&incoming_stream ();
59 CORBA::ULong request_id_
;
62 TAO_Tagged_Profile profile_
;
65 TAO::ObjectKey object_key_
;
67 /// Incoming CDR stream
68 TAO_InputCDR
*incoming_
;
71 TAO_END_VERSIONED_NAMESPACE_DECL
73 #if defined (__ACE_INLINE__)
74 # include "tao/GIOP_Message_Locate_Header.inl"
75 #endif /* __ACE_INLINE__ */
77 #include /**/ "ace/post.h"
78 #endif /*TAO_GIOP_MESSAGE_LOCATE_HEADER_H*/