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