blob: 1f4420151af77a0f1573ae9a0ab44bb90f7371a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
// -*- C++ -*-
//=============================================================================
/**
* @file GIOP_Message_Locate_Header.h
*
* $Id$
*
* 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_GIOP_Locate_Request_Header
*
* @brief Location service support
*/
class TAO_Export TAO_GIOP_Locate_Request_Header
{
public:
/// Constructor
TAO_GIOP_Locate_Request_Header (TAO_InputCDR &msg,
TAO_ORB_Core *core);
/// Set the id
void request_id (CORBA::ULong id);
/// Get the request id
CORBA::ULong request_id (void);
/// Get the object_key in read mode..
const TAO::ObjectKey &object_key (void) const;
/// Get the object_key in read/write mode..
TAO::ObjectKey &object_key (void);
/// Get the reference to the underlying profile
TAO_Tagged_Profile &profile (void);
/// Get the CDR stream for read/write
TAO_InputCDR &incoming_stream (void);
private:
/// Request id
CORBA::ULong request_id_;
/// Profile info.
TAO_Tagged_Profile profile_;
/// Object Key
TAO::ObjectKey object_key_;
/// Incoming CDR stream
TAO_InputCDR *incoming_;
};
#if defined (__ACE_INLINE__)
# include "tao/GIOP_Message_Locate_Header.i"
#endif /* __ACE_INLINE__ */
#include "ace/post.h"
#endif /*TAO_GIOP_MESSAGE_LOCATE_HEADER_H*/
|