#include <ATM_Params.h>
Collaboration diagram for ACE_ATM_Params:
Public Member Functions | |
ACE_ATM_Params (int rw_flag=1, const char device[]=ACE_XTI_ATM_DEVICE, Param_Info *info=0, Param_Udata *udata=0, int oflag=O_RDWR, int protocol_family=AF_ATM, int protocol=ATM_PROTOCOL_DEFAULT, int type=SOCK_RAW, ACE_Protocol_Info *protocol_info=0, ACE_SOCK_GROUP g=0, u_long flags=ACE_FLAG_MULTIPOINT_C_ROOT|ACE_FLAG_MULTIPOINT_D_ROOT, int reuse_addr=0) | |
~ACE_ATM_Params () | |
Destructor. | |
int | get_protocol_family (void) const |
Get protocol family. | |
void | set_protocol_family (int) |
Set protocol family. | |
int | get_protocol (void) const |
Get protocol. | |
void | set_protocol (int) |
Set protocol. | |
int | get_type (void) const |
Get type. | |
void | set_type (int) |
Set type. | |
ACE_Protocol_Info * | get_protocol_info (void) |
Get protocol info. | |
void | set_protocol_info (ACE_Protocol_Info *) |
Set protocol info. | |
ACE_SOCK_GROUP | get_sock_group (void) |
Get socket group. | |
void | set_sock_group (ACE_SOCK_GROUP) |
Set socket group. | |
u_long | get_flags (void) |
Get socket flags. | |
void | set_flags (u_long) |
Set socket flags. | |
int | get_reuse_addr (void) const |
Get reuse_addr flag. | |
void | set_reuse_addr (int) |
Set reuse_addr flag. | |
const char * | get_device (void) const |
Get device. | |
Param_Info * | get_info (void) const |
Get info. | |
void | set_info (Param_Info *) |
Set info. | |
int | get_rw_flag (void) const |
Get r/w flag. | |
void | set_rw_flag (int) |
Set r/w flag. | |
Param_Udata * | get_user_data (void) const |
Get user data. | |
void | set_user_data (Param_Udata *) |
Set user data. | |
int | get_oflag (void) const |
Get open flag. | |
void | set_oflag (int) |
Set open flag. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Attributes | |
int | protocol_family_ |
Protocol family for sockets connections. | |
int | protocol_ |
Protocol for sockets connections. | |
int | type_ |
Type for opening sockets. | |
ACE_Protocol_Info * | protocol_info_ |
Information about the protocol. | |
ACE_SOCK_GROUP | group_ |
Socket group used (for sockets only). | |
u_long | flags_ |
Flags for sockets (for sockets only). | |
int | reuse_addr_ |
Flag for reusing address for opening sockets. | |
const char * | device_ |
Device name for XTI/ATM connections. | |
Param_Info * | info_ |
Info for XTI/ATM connections. | |
int | rw_flag_ |
R/W flag for XTI/ATM connections. | |
Param_Udata * | udata_ |
User data for XTI/ATM connections. | |
int | oflag_ |
Open flag for XTI/ATM connections. |
Definition at line 60 of file ATM_Params.h.
|
Initialize the data members. This class combines options from ACE_SOCK_Connector (, , , , , and ) and ACE_TLI_Connector (, , , , and ) so that either mechanism can be used transparently for ATM. Definition at line 16 of file ATM_Params.inl. References ACE_SOCK_GROUP, ACE_TRACE, Param_Info, and Param_Udata.
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 } |
|
Destructor.
Definition at line 46 of file ATM_Params.inl. References ACE_TRACE.
00047 { 00048 ACE_TRACE ("ACE_ATM_Params::~ACE_ATM_Params"); 00049 } |
|
Dump the state of an object.
Definition at line 8 of file ATM_Params.inl. References ACE_TRACE.
00009 { 00010 #if defined (ACE_HAS_DUMP) 00011 ACE_TRACE ("ACE_ATM_Params::dump"); 00012 #endif /* ACE_HAS_DUMP */ 00013 } |
|
Get device.
Definition at line 165 of file ATM_Params.inl. References ACE_TRACE, and device_. Referenced by ACE_ATM_Connector::connect(), ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get socket flags.
Definition at line 133 of file ATM_Params.inl. References ACE_TRACE. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get info.
Definition at line 173 of file ATM_Params.inl. References ACE_TRACE, and info_. Referenced by ACE_ATM_Connector::connect(), ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get open flag.
Definition at line 221 of file ATM_Params.inl. References ACE_TRACE, and oflag_. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get protocol.
Definition at line 69 of file ATM_Params.inl. References ACE_TRACE, and protocol_. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get protocol family.
Definition at line 53 of file ATM_Params.inl. References ACE_TRACE, and protocol_family_. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
00054 { 00055 ACE_TRACE ("ACE_ATM_Params::get_protocol_family"); 00056 return protocol_family_; 00057 } |
|
Get protocol info.
Definition at line 101 of file ATM_Params.inl. References ACE_TRACE, and protocol_info_. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
00102 { 00103 ACE_TRACE ("ACE_ATM_Params::get_protocol_info"); 00104 return protocol_info_; 00105 } |
|
Get reuse_addr flag.
Definition at line 149 of file ATM_Params.inl. References ACE_TRACE. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
00150 { 00151 ACE_TRACE ("ACE_ATM_Params::get_reuse_addr"); 00152 return reuse_addr_; 00153 } |
|
Get r/w flag.
Definition at line 189 of file ATM_Params.inl. References ACE_TRACE, and rw_flag_. Referenced by ACE_ATM_Acceptor::accept(), and ACE_ATM_Connector::connect().
|
|
Get socket group.
Definition at line 117 of file ATM_Params.inl. References ACE_TRACE, and group_. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get type.
Definition at line 85 of file ATM_Params.inl. References ACE_TRACE, and type_. Referenced by ACE_ATM_Stream::open(), and ACE_ATM_Acceptor::open().
|
|
Get user data.
Definition at line 205 of file ATM_Params.inl. References ACE_TRACE, and udata_. Referenced by ACE_ATM_Acceptor::accept(), and ACE_ATM_Connector::connect().
|
|
Set socket flags.
Definition at line 141 of file ATM_Params.inl. References ACE_TRACE. Referenced by ACE_ATM_Stream::open().
|
|
Set info.
Definition at line 181 of file ATM_Params.inl. References ACE_TRACE, info_, and Param_Info.
|
|
Set open flag.
Definition at line 229 of file ATM_Params.inl. References ACE_TRACE, and oflag_.
|
|
Set protocol.
Definition at line 77 of file ATM_Params.inl. References ACE_TRACE, and protocol_.
|
|
Set protocol family.
Definition at line 61 of file ATM_Params.inl. References ACE_TRACE, and protocol_family_.
00062 { 00063 ACE_TRACE ("ACE_ATM_Params::set_protocol_family"); 00064 protocol_family_ = family; 00065 } |
|
Set protocol info.
Definition at line 109 of file ATM_Params.inl. References ACE_TRACE, and protocol_info_.
00110 { 00111 ACE_TRACE ("ACE_ATM_Params::set_protocol_info"); 00112 protocol_info_ = protocol_info; 00113 } |
|
Set reuse_addr flag.
Definition at line 157 of file ATM_Params.inl. References ACE_TRACE.
00158 { 00159 ACE_TRACE ("ACE_ATM_Params::set_reuse_addr"); 00160 reuse_addr_ = reuse_addr; 00161 } |
|
Set r/w flag.
Definition at line 197 of file ATM_Params.inl. References ACE_TRACE, and rw_flag_.
|
|
Set socket group.
Definition at line 125 of file ATM_Params.inl. References ACE_SOCK_GROUP, ACE_TRACE, and group_.
|
|
Set type.
Definition at line 93 of file ATM_Params.inl. References ACE_TRACE, and type_.
|
|
Set user data.
Definition at line 213 of file ATM_Params.inl. References ACE_TRACE, Param_Udata, and udata_.
|
|
Declare the dynamic allocation hooks.
Definition at line 166 of file ATM_Params.h. |
|
Device name for XTI/ATM connections.
Definition at line 191 of file ATM_Params.h. Referenced by get_device(). |
|
Flags for sockets (for sockets only).
Definition at line 185 of file ATM_Params.h. |
|
Socket group used (for sockets only).
Definition at line 182 of file ATM_Params.h. Referenced by get_sock_group(), and set_sock_group(). |
|
Info for XTI/ATM connections.
Definition at line 194 of file ATM_Params.h. Referenced by get_info(), and set_info(). |
|
Open flag for XTI/ATM connections.
Definition at line 203 of file ATM_Params.h. Referenced by get_oflag(), and set_oflag(). |
|
Protocol for sockets connections.
Definition at line 173 of file ATM_Params.h. Referenced by get_protocol(), and set_protocol(). |
|
Protocol family for sockets connections.
Definition at line 170 of file ATM_Params.h. Referenced by get_protocol_family(), and set_protocol_family(). |
|
Information about the protocol.
Definition at line 179 of file ATM_Params.h. Referenced by get_protocol_info(), and set_protocol_info(). |
|
Flag for reusing address for opening sockets.
Definition at line 188 of file ATM_Params.h. |
|
R/W flag for XTI/ATM connections.
Definition at line 197 of file ATM_Params.h. Referenced by get_rw_flag(), and set_rw_flag(). |
|
Type for opening sockets.
Definition at line 176 of file ATM_Params.h. Referenced by get_type(), and set_type(). |
|
User data for XTI/ATM connections.
Definition at line 200 of file ATM_Params.h. Referenced by get_user_data(), and set_user_data(). |