Wrapper class that simplifies the information passed to the ATM enabled ACE_ATM_Connector class.
More...
#include <ATM_Params.h>
|
| 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 () const |
| Get protocol family.
|
|
void | set_protocol_family (int) |
| Set protocol family.
|
|
int | get_protocol () const |
| Get protocol.
|
|
void | set_protocol (int) |
| Set protocol.
|
|
int | get_type () const |
| Get type.
|
|
void | set_type (int) |
| Set type.
|
|
ACE_Protocol_Info * | get_protocol_info () |
| Get protocol info.
|
|
void | set_protocol_info (ACE_Protocol_Info *) |
| Set protocol info.
|
|
ACE_SOCK_GROUP | get_sock_group () |
| Get socket group.
|
|
void | set_sock_group (ACE_SOCK_GROUP) |
| Set socket group.
|
|
u_long | get_flags () |
| Get socket flags.
|
|
void | set_flags (u_long) |
| Set socket flags.
|
|
int | get_reuse_addr () const |
| Get reuse_addr flag.
|
|
void | set_reuse_addr (int) |
| Set reuse_addr flag.
|
|
const char * | get_device () const |
| Get device.
|
|
Param_Info * | get_info () const |
| Get info.
|
|
void | set_info (Param_Info *) |
| Set info.
|
|
int | get_rw_flag () const |
| Get r/w flag.
|
|
void | set_rw_flag (int) |
| Set r/w flag.
|
|
Param_Udata * | get_user_data () const |
| Get user data.
|
|
void | set_user_data (Param_Udata *) |
| Set user data.
|
|
int | get_oflag () const |
| Get open flag.
|
|
void | set_oflag (int) |
| Set open flag.
|
|
void | dump () const |
| Dump the state of an object.
|
|
Wrapper class that simplifies the information passed to the ATM enabled ACE_ATM_Connector class.
◆ ACE_ATM_Params()
ACE_ATM_Params::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 ) |
|
inline |
Initialize the data members. This class combines options from ACE_SOCK_Connector (protocol_family, protocol, <type>, protocol_info, <group>, and flags) and ACE_TLI_Connector (<device>, <info>, <rw_flag>, <oflag>, and <udata>) so that either mechanism can be used transparently for ATM.
◆ ~ACE_ATM_Params()
ACE_ATM_Params::~ACE_ATM_Params |
( |
| ) |
|
|
inline |
◆ dump()
void ACE_ATM_Params::dump |
( |
| ) |
const |
|
inline |
Dump the state of an object.
◆ get_device()
const char * ACE_ATM_Params::get_device |
( |
| ) |
const |
|
inline |
◆ get_flags()
u_long ACE_ATM_Params::get_flags |
( |
| ) |
|
|
inline |
◆ get_info()
◆ get_oflag()
int ACE_ATM_Params::get_oflag |
( |
| ) |
const |
|
inline |
◆ get_protocol()
int ACE_ATM_Params::get_protocol |
( |
| ) |
const |
|
inline |
◆ get_protocol_family()
int ACE_ATM_Params::get_protocol_family |
( |
| ) |
const |
|
inline |
◆ get_protocol_info()
◆ get_reuse_addr()
int ACE_ATM_Params::get_reuse_addr |
( |
| ) |
const |
|
inline |
◆ get_rw_flag()
int ACE_ATM_Params::get_rw_flag |
( |
| ) |
const |
|
inline |
◆ get_sock_group()
◆ get_type()
int ACE_ATM_Params::get_type |
( |
| ) |
const |
|
inline |
◆ get_user_data()
◆ set_flags()
◆ set_info()
◆ set_oflag()
void ACE_ATM_Params::set_oflag |
( |
int | oflag | ) |
|
|
inline |
◆ set_protocol()
void ACE_ATM_Params::set_protocol |
( |
int | protocol | ) |
|
|
inline |
◆ set_protocol_family()
void ACE_ATM_Params::set_protocol_family |
( |
int | family | ) |
|
|
inline |
◆ set_protocol_info()
◆ set_reuse_addr()
void ACE_ATM_Params::set_reuse_addr |
( |
int | reuse_addr | ) |
|
|
inline |
◆ set_rw_flag()
void ACE_ATM_Params::set_rw_flag |
( |
int | rw_flag | ) |
|
|
inline |
◆ set_sock_group()
◆ set_type()
void ACE_ATM_Params::set_type |
( |
int | type | ) |
|
|
inline |
◆ set_user_data()
◆ ACE_ALLOC_HOOK_DECLARE
ACE_ATM_Params::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
◆ device_
const char* ACE_ATM_Params::device_ |
|
private |
Device name for XTI/ATM connections.
◆ flags_
Flags for sockets (for sockets only).
◆ group_
Socket group used (for sockets only).
◆ info_
Info for XTI/ATM connections.
◆ oflag_
int ACE_ATM_Params::oflag_ |
|
private |
Open flag for XTI/ATM connections.
◆ protocol_
int ACE_ATM_Params::protocol_ |
|
private |
Protocol for sockets connections.
◆ protocol_family_
int ACE_ATM_Params::protocol_family_ |
|
private |
Protocol family for sockets connections.
◆ protocol_info_
Information about the protocol.
◆ reuse_addr_
int ACE_ATM_Params::reuse_addr_ |
|
private |
Flag for reusing address for opening sockets.
◆ rw_flag_
int ACE_ATM_Params::rw_flag_ |
|
private |
R/W flag for XTI/ATM connections.
◆ type_
int ACE_ATM_Params::type_ |
|
private |
Type for opening sockets.
◆ udata_
User data for XTI/ATM connections.
The documentation for this class was generated from the following files: