diff options
author | ruibiao <ruibiao@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-10-12 16:30:51 +0000 |
---|---|---|
committer | ruibiao <ruibiao@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-10-12 16:30:51 +0000 |
commit | 33fe98c12f2277cf270edefd8038a972c29bc049 (patch) | |
tree | 7398aaadef5768b7bba61447f2128dcdb76d2112 /ace/ATM_Params.i | |
parent | 1d930cea52fdb5cf590fb76d659e628905b060a8 (diff) | |
download | ATCD-33fe98c12f2277cf270edefd8038a972c29bc049.tar.gz |
ace/ATM_{Addr,Stream,Acceptor,Connector,QoS,Params}.{h,cpp,i}: Added support
for Fore ATM on Windows platform. Enabled when ACE_HAS_ATM and
ACE_HAS_FORE_ATM_WS2 are defined.
Diffstat (limited to 'ace/ATM_Params.i')
-rw-r--r-- | ace/ATM_Params.i | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/ace/ATM_Params.i b/ace/ATM_Params.i index 2c6ecea2f8a..43bce9f0a42 100644 --- a/ace/ATM_Params.i +++ b/ace/ATM_Params.i @@ -1,4 +1,3 @@ -/* -*- C++ -*- */ // $Id$ // ATM_Params.i @@ -12,10 +11,16 @@ ACE_ATM_Params::ACE_ATM_Params (int rw_flag, int protocol_family, int protocol, int type, + ACE_Protocol_Info *protocol_info, + ACE_SOCK_GROUP g, + u_long flags, int reuse_addr) : protocol_family_(protocol_family), protocol_(protocol), type_(type), + protocol_info_(protocol_info), + group_(g), + flags_(flags), reuse_addr_(reuse_addr), device_(device), info_(info), @@ -82,6 +87,54 @@ ACE_ATM_Params::set_type (int type) } ACE_INLINE +ACE_Protocol_Info* +ACE_ATM_Params::get_protocol_info( void ) +{ + ACE_TRACE ("ACE_ATM_Params::get_protocol_info"); + return protocol_info_; +} + +ACE_INLINE +void +ACE_ATM_Params::set_protocol_info( ACE_Protocol_Info *protocol_info ) +{ + ACE_TRACE ("ACE_ATM_Params::set_protocol_info"); + protocol_info_ = protocol_info; +} + +ACE_INLINE +ACE_SOCK_GROUP +ACE_ATM_Params::get_sock_group( void ) +{ + ACE_TRACE ("ACE_ATM_Params::get_sock_group"); + return group_; +} + +ACE_INLINE +void +ACE_ATM_Params::set_sock_group( ACE_SOCK_GROUP g ) +{ + ACE_TRACE ("ACE_ATM_Params::set_sock_group"); + group_ = g; +} + +ACE_INLINE +u_long +ACE_ATM_Params::get_flags( void ) +{ + ACE_TRACE ("ACE_ATM_Params::get_flags"); + return flags_; +} + +ACE_INLINE +void +ACE_ATM_Params::set_flags( u_long flags) +{ + ACE_TRACE ("ACE_ATM_Params::set_flags"); + flags_ = flags; +} + +ACE_INLINE int ACE_ATM_Params::get_reuse_addr (void) const { @@ -168,3 +221,4 @@ ACE_ATM_Params::set_oflag (int oflag) ACE_TRACE ("ACE_ATM_Params::set_oflag"); oflag_ = oflag; } + |