summaryrefslogtreecommitdiff
path: root/ace/ATM_Params.i
blob: 2c6ecea2f8a79795dc29095cb233dab6e90fd8a1 (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
/* -*- C++ -*- */
// $Id$

// ATM_Params.i

ACE_INLINE
ACE_ATM_Params::ACE_ATM_Params (int rw_flag,
                                const char device[],
                                Param_Info *info,
                                Param_Udata *udata,
                                int oflag,
                                int protocol_family,
                                int protocol,
                                int type,
                                int reuse_addr)
  : protocol_family_(protocol_family),
    protocol_(protocol),
    type_(type),
    reuse_addr_(reuse_addr),
    device_(device),
    info_(info),
    rw_flag_(rw_flag),
    udata_(udata),
    oflag_(oflag)
{
  ACE_TRACE ("ACE_ATM_Params::ACE_ATM_Params");
}

// Default dtor.
ACE_INLINE
ACE_ATM_Params::~ACE_ATM_Params (void)
{
  ACE_TRACE ("ACE_ATM_Params::~ACE_ATM_Params");
}

ACE_INLINE
int
ACE_ATM_Params::get_protocol_family (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_protocol_family");
  return protocol_family_;
}

ACE_INLINE
void
ACE_ATM_Params::set_protocol_family (int family)
{
  ACE_TRACE ("ACE_ATM_Params::set_protocol_family");
  protocol_family_ = family;
}

ACE_INLINE
int
ACE_ATM_Params::get_protocol (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_protocol");
  return protocol_;
}

ACE_INLINE
void
ACE_ATM_Params::set_protocol (int protocol)
{
  ACE_TRACE ("ACE_ATM_Params::set_protocol");
  protocol_ = protocol;
}

ACE_INLINE
int
ACE_ATM_Params::get_type (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_type");
  return type_;
}

ACE_INLINE
void
ACE_ATM_Params::set_type (int type)
{
  ACE_TRACE ("ACE_ATM_Params::set_type");
  type_ = type;
}

ACE_INLINE
int
ACE_ATM_Params::get_reuse_addr (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_reuse_addr");
  return reuse_addr_;
}

ACE_INLINE
void
ACE_ATM_Params::set_reuse_addr (int reuse_addr)
{
  ACE_TRACE ("ACE_ATM_Params::set_reuse_addr");
  reuse_addr_ = reuse_addr;
}

ACE_INLINE
const char*
ACE_ATM_Params::get_device (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_device");
  return device_;
}

ACE_INLINE
Param_Info*
ACE_ATM_Params::get_info (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_info");
  return info_;
}

ACE_INLINE
void
ACE_ATM_Params::set_info (Param_Info* info)
{
  ACE_TRACE ("ACE_ATM_Params::set_info");
  info_ = info;
}

ACE_INLINE
int
ACE_ATM_Params::get_rw_flag (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_rw_flag");
  return rw_flag_;
}

ACE_INLINE
void
ACE_ATM_Params::set_rw_flag (int rw_flag)
{
  ACE_TRACE ("ACE_ATM_Params::set_rw_flag");
  rw_flag_ = rw_flag;
}

ACE_INLINE
Param_Udata*
ACE_ATM_Params::get_user_data (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_user_data");
  return udata_;
}

ACE_INLINE
void
ACE_ATM_Params::set_user_data (Param_Udata *udata)
{
  ACE_TRACE ("ACE_ATM_Params::set_user_data");
  udata_ = udata;
}

ACE_INLINE
int
ACE_ATM_Params::get_oflag (void) const
{
  ACE_TRACE ("ACE_ATM_Params::get_oflag");
  return oflag_;
}

ACE_INLINE
void
ACE_ATM_Params::set_oflag (int oflag)
{
  ACE_TRACE ("ACE_ATM_Params::set_oflag");
  oflag_ = oflag;
}