summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/Caching/Locator_Request_Reply.i
blob: 9dd2f851ceb79a60c92106b638a00210fb9867db (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
/* -*- C++ -*- */

// $Id$

#include "URL_Locator.h"

ACE_INLINE
ACE_URL_Locator_Request::ACE_URL_Locator_Request (void)
  : code_(ACE_URL_Locator::INVALID_OPERATION),
    seq1_ (0),
    seq2_ (0),
    offer_ (0),
    buffer_ (0)
{
}

ACE_INLINE
ACE_URL_Locator_Request::~ACE_URL_Locator_Request (void)
{
  delete this->seq1_;
  delete this->seq2_;
  delete this->offer_;
  delete [] this->buffer_;
}

ACE_INLINE const  int
ACE_URL_Locator_Request::how (void) const
{
  return this-> how_;
}

ACE_INLINE const  int
ACE_URL_Locator_Request::how_many (void) const
{
  return this->how_many_;
}

ACE_INLINE const u_int
ACE_URL_Locator_Request::opcode (void) const
{
  return this->code_;
}

ACE_INLINE const  ACE_URL_Property_Seq *
ACE_URL_Locator_Request::seq (void) const
{
  return this->seq1_;
}

ACE_INLINE const  ACE_URL_Property_Seq *
ACE_URL_Locator_Request::del (void) const
{
  return this->seq1_;
}

ACE_INLINE const  ACE_URL_Property_Seq *
ACE_URL_Locator_Request::modify (void) const
{
  return this->seq2_;
}

ACE_INLINE const ACE_URL_Offer *
ACE_URL_Locator_Request::offer (void) const
{
  return this->offer_;
}

ACE_INLINE const  ACE_WString &
ACE_URL_Locator_Request::id (void) const
{
  return this->id_;
}

ACE_INLINE const  ACE_WString &
ACE_URL_Locator_Request::url (void) const
{
  return this->url_;
}

ACE_INLINE const  char *
ACE_URL_Locator_Request::buffer (void) const
{
  return this->buffer_;
}

ACE_INLINE
ACE_URL_Locator_Reply::ACE_URL_Locator_Reply (void)
  : code_ (ACE_URL_Locator::INVALID_OPERATION),
    offer_ (0),
    offers_ (0),
    buffer_ (0)
{
}

ACE_INLINE
ACE_URL_Locator_Reply::~ACE_URL_Locator_Reply (void)
{
  delete this->offer_;
  delete this->offers_;
  delete [] this->buffer_;
}

ACE_INLINE const size_t
ACE_URL_Locator_Reply::num_offers (void) const
{
  return this->num_offers_;
}


ACE_INLINE const ACE_URL_Offer *
ACE_URL_Locator_Reply::offer (void) const
{
  return this->offer_;
}

ACE_INLINE const ACE_URL_Offer_Seq *
ACE_URL_Locator_Reply::offers (void) const
{
  return this->offers_;
}

ACE_INLINE const u_int
ACE_URL_Locator_Reply::opcode (void) const
{
  return this->code_;
}

ACE_INLINE const u_int
ACE_URL_Locator_Reply::status (void) const
{
  return this->status_;
}

ACE_INLINE const char *
ACE_URL_Locator_Reply::buffer (void) const
{
  return this->buffer_;
}