summaryrefslogtreecommitdiff
path: root/ACE/ace/PIP_Messages.inl
blob: 03145e441bf8fa4b8ed62b449fc3d277d5a4573f (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/**************************************************
 *
 *  ACE_PIP_Message - Inline Methods 
 *
 **************************************************/
inline ACE_PIP_Message* ACE_PIP_Message::next()
{
   return this->next_;
}

inline void ACE_PIP_Message::next(ACE_PIP_Message* message)
{
   this->next_ = message;
}

inline ACE_PIP_Message* ACE_PIP_Message::release_next()
{
   ACE_PIP_Message* temp = this->next_;
   this->next_ = 0;
   return temp;
}

inline ACE_Message_Block* ACE_PIP_Message::block() 
{
   return this->block_;
}

inline ACE_Message_Block* ACE_PIP_Message::release_block()
{
   ACE_Message_Block* temp_block = this->block_;
   this->block_ = 0;
   this->dirty_ = true;
   return temp_block;
}

/**************************************************
 *
 *  ACE_PIP_Data_Message - Inline Methods 
 *
 **************************************************/

inline bool ACE_PIP_Data_Message::reply_expected() const
{
   return this->reply_expected_;
}

inline void ACE_PIP_Data_Message::reply_expected(bool expected)
{
   this->dirty_ = true;
   this->reply_expected_ = expected;
}

inline ACE_UINT32 ACE_PIP_Data_Message::message_priority() const
{
   return this->message_priority_;
}

inline void ACE_PIP_Data_Message::message_priority(ACE_UINT32 priority)
{
   this->dirty_ = true;
   this->message_priority_ = priority;
}

inline ACE_UINT32 ACE_PIP_Data_Message::destination_handler_ID() const
{
  return this->destination_handler_id_;
}

inline void ACE_PIP_Data_Message::destination_handler_ID(ACE_UINT32 ID)
{
  this->destination_handler_id_ = ID;
  this->dirty_ = true;
}

inline ACE_UINT32 ACE_PIP_Data_Message::source_handler_ID() const
{
  return this->source_handler_id_;
}
   
inline void ACE_PIP_Data_Message::source_handler_ID(ACE_UINT32 ID)
{
  this->source_handler_id_ = ID;
}

inline ACE_UINT32 ACE_PIP_Data_Message::source_site_ID() const
{
  return this->source_site_id_;
}
   
inline void ACE_PIP_Data_Message::source_site_ID(ACE_UINT32 ID)
{
  this->source_site_id_ = ID;
}

inline ACE_UINT32 ACE_PIP_Data_Message::destination_site_ID() const
{
  return this->destination_site_id_;
}
   
inline void ACE_PIP_Data_Message::destination_site_ID(ACE_UINT32 ID)
{
  this->destination_site_id_ = ID;
}

/**************************************************
 *
 *  ACE_PIP_Accel_Message - Inline Methods 
 *
 **************************************************/

inline ACE_UINT32 ACE_PIP_Accel_Message::old_priority() const
{
   return old_priority_;
}

inline void ACE_PIP_Accel_Message::old_priority(ACE_UINT32 priority)
{
   this->dirty_ = true;
   old_priority_ = priority;
}

inline ACE_UINT32 ACE_PIP_Accel_Message::new_priority() const
{
   return new_priority_;
}

inline void ACE_PIP_Accel_Message::new_priority(ACE_UINT32 priority)
{
   this->dirty_ = true;
   new_priority_ = priority;
}

inline ACE_UINT32 ACE_PIP_Accel_Message::destination_address() const
{
   return destination_address_;
}

inline void ACE_PIP_Accel_Message::destination_address(const ACE_UINT32& address)
{
   this->dirty_ = true;
   destination_address_ = address;
}

inline u_short ACE_PIP_Accel_Message::destination_port() const
{
  return destination_port_;
}

inline void ACE_PIP_Accel_Message::destination_port(u_short port)
{
  destination_port_ = port;
}

/**************************************************
 *
 *  ACE_PIP_Protocol_Message - Inline Methods 
 *
 **************************************************/

inline void ACE_PIP_Protocol_Message::
   message_type(ACE_PIP_Protocol_Message::Message_Type type)
{
   message_type_ = type;
   this->dirty_ = true;
}

inline ACE_PIP_Protocol_Message::Message_Type ACE_PIP_Protocol_Message::message_type() const
{
   return message_type_;
}

inline ACE_UINT64 ACE_PIP_Protocol_Message::message_id() const
{
   return message_id_;
}

inline void ACE_PIP_Protocol_Message::message_id(ACE_UINT64 id)
{
   this->dirty_ = true;
   message_id_ = id;
}

inline ACE_PIP_Message* ACE_PIP_Protocol_Message::next()
{
  return this->next_;
}