00001
00002
00003
00004
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006
00007 ACE_INLINE void
00008 ACE_ATM_Params::dump (void) const
00009 {
00010 #if defined (ACE_HAS_DUMP)
00011 ACE_TRACE ("ACE_ATM_Params::dump");
00012 #endif
00013 }
00014
00015 ACE_INLINE
00016 ACE_ATM_Params::ACE_ATM_Params (int rw_flag,
00017 const char device[],
00018 Param_Info *info,
00019 Param_Udata *udata,
00020 int oflag,
00021 int protocol_family,
00022 int protocol,
00023 int type,
00024 ACE_Protocol_Info *protocol_info,
00025 ACE_SOCK_GROUP g,
00026 u_long flags,
00027 int reuse_addr)
00028 : protocol_family_(protocol_family),
00029 protocol_(protocol),
00030 type_(type),
00031 protocol_info_(protocol_info),
00032 group_(g),
00033 flags_(flags),
00034 reuse_addr_(reuse_addr),
00035 device_(device),
00036 info_(info),
00037 rw_flag_(rw_flag),
00038 udata_(udata),
00039 oflag_(oflag)
00040 {
00041 ACE_TRACE ("ACE_ATM_Params::ACE_ATM_Params");
00042 }
00043
00044
00045 ACE_INLINE
00046 ACE_ATM_Params::~ACE_ATM_Params (void)
00047 {
00048 ACE_TRACE ("ACE_ATM_Params::~ACE_ATM_Params");
00049 }
00050
00051 ACE_INLINE
00052 int
00053 ACE_ATM_Params::get_protocol_family (void) const
00054 {
00055 ACE_TRACE ("ACE_ATM_Params::get_protocol_family");
00056 return protocol_family_;
00057 }
00058
00059 ACE_INLINE
00060 void
00061 ACE_ATM_Params::set_protocol_family (int family)
00062 {
00063 ACE_TRACE ("ACE_ATM_Params::set_protocol_family");
00064 protocol_family_ = family;
00065 }
00066
00067 ACE_INLINE
00068 int
00069 ACE_ATM_Params::get_protocol (void) const
00070 {
00071 ACE_TRACE ("ACE_ATM_Params::get_protocol");
00072 return protocol_;
00073 }
00074
00075 ACE_INLINE
00076 void
00077 ACE_ATM_Params::set_protocol (int protocol)
00078 {
00079 ACE_TRACE ("ACE_ATM_Params::set_protocol");
00080 protocol_ = protocol;
00081 }
00082
00083 ACE_INLINE
00084 int
00085 ACE_ATM_Params::get_type (void) const
00086 {
00087 ACE_TRACE ("ACE_ATM_Params::get_type");
00088 return type_;
00089 }
00090
00091 ACE_INLINE
00092 void
00093 ACE_ATM_Params::set_type (int type)
00094 {
00095 ACE_TRACE ("ACE_ATM_Params::set_type");
00096 type_ = type;
00097 }
00098
00099 ACE_INLINE
00100 ACE_Protocol_Info*
00101 ACE_ATM_Params::get_protocol_info( void )
00102 {
00103 ACE_TRACE ("ACE_ATM_Params::get_protocol_info");
00104 return protocol_info_;
00105 }
00106
00107 ACE_INLINE
00108 void
00109 ACE_ATM_Params::set_protocol_info( ACE_Protocol_Info *protocol_info )
00110 {
00111 ACE_TRACE ("ACE_ATM_Params::set_protocol_info");
00112 protocol_info_ = protocol_info;
00113 }
00114
00115 ACE_INLINE
00116 ACE_SOCK_GROUP
00117 ACE_ATM_Params::get_sock_group( void )
00118 {
00119 ACE_TRACE ("ACE_ATM_Params::get_sock_group");
00120 return group_;
00121 }
00122
00123 ACE_INLINE
00124 void
00125 ACE_ATM_Params::set_sock_group( ACE_SOCK_GROUP g )
00126 {
00127 ACE_TRACE ("ACE_ATM_Params::set_sock_group");
00128 group_ = g;
00129 }
00130
00131 ACE_INLINE
00132 u_long
00133 ACE_ATM_Params::get_flags( void )
00134 {
00135 ACE_TRACE ("ACE_ATM_Params::get_flags");
00136 return flags_;
00137 }
00138
00139 ACE_INLINE
00140 void
00141 ACE_ATM_Params::set_flags( u_long flags)
00142 {
00143 ACE_TRACE ("ACE_ATM_Params::set_flags");
00144 flags_ = flags;
00145 }
00146
00147 ACE_INLINE
00148 int
00149 ACE_ATM_Params::get_reuse_addr (void) const
00150 {
00151 ACE_TRACE ("ACE_ATM_Params::get_reuse_addr");
00152 return reuse_addr_;
00153 }
00154
00155 ACE_INLINE
00156 void
00157 ACE_ATM_Params::set_reuse_addr (int reuse_addr)
00158 {
00159 ACE_TRACE ("ACE_ATM_Params::set_reuse_addr");
00160 reuse_addr_ = reuse_addr;
00161 }
00162
00163 ACE_INLINE
00164 const char*
00165 ACE_ATM_Params::get_device (void) const
00166 {
00167 ACE_TRACE ("ACE_ATM_Params::get_device");
00168 return device_;
00169 }
00170
00171 ACE_INLINE
00172 Param_Info*
00173 ACE_ATM_Params::get_info (void) const
00174 {
00175 ACE_TRACE ("ACE_ATM_Params::get_info");
00176 return info_;
00177 }
00178
00179 ACE_INLINE
00180 void
00181 ACE_ATM_Params::set_info (Param_Info* info)
00182 {
00183 ACE_TRACE ("ACE_ATM_Params::set_info");
00184 info_ = info;
00185 }
00186
00187 ACE_INLINE
00188 int
00189 ACE_ATM_Params::get_rw_flag (void) const
00190 {
00191 ACE_TRACE ("ACE_ATM_Params::get_rw_flag");
00192 return rw_flag_;
00193 }
00194
00195 ACE_INLINE
00196 void
00197 ACE_ATM_Params::set_rw_flag (int rw_flag)
00198 {
00199 ACE_TRACE ("ACE_ATM_Params::set_rw_flag");
00200 rw_flag_ = rw_flag;
00201 }
00202
00203 ACE_INLINE
00204 Param_Udata*
00205 ACE_ATM_Params::get_user_data (void) const
00206 {
00207 ACE_TRACE ("ACE_ATM_Params::get_user_data");
00208 return udata_;
00209 }
00210
00211 ACE_INLINE
00212 void
00213 ACE_ATM_Params::set_user_data (Param_Udata *udata)
00214 {
00215 ACE_TRACE ("ACE_ATM_Params::set_user_data");
00216 udata_ = udata;
00217 }
00218
00219 ACE_INLINE
00220 int
00221 ACE_ATM_Params::get_oflag (void) const
00222 {
00223 ACE_TRACE ("ACE_ATM_Params::get_oflag");
00224 return oflag_;
00225 }
00226
00227 ACE_INLINE
00228 void
00229 ACE_ATM_Params::set_oflag (int oflag)
00230 {
00231 ACE_TRACE ("ACE_ATM_Params::set_oflag");
00232 oflag_ = oflag;
00233 }
00234
00235 ACE_END_VERSIONED_NAMESPACE_DECL