ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ACE_TLI Class Reference

Defines the member functions for the base class of the ACE_TLI abstraction. More...

#include <TLI.h>

Inheritance diagram for ACE_TLI:
Inheritance graph
[legend]
Collaboration diagram for ACE_TLI:
Collaboration graph
[legend]

Public Member Functions

ACE_HANDLE open (const char device[], int oflag=O_RDWR, struct t_info *info=0)
 Initialize a TLI endpoint.
 
int close ()
 Close a TLI endpoint and release resources.
 
int set_option (int level, int option, void *optval, int optlen)
 Set underlying protocol options.
 
int get_option (int level, int option, void *optval, int &optlen)
 Get underlying protocol options.
 
int look () const
 
int rcvdis (struct t_discon *=0) const
 
int snddis (struct t_call *=0) const
 
int sndrel () const
 
int rcvrel () const
 
int get_local_addr (ACE_Addr &) const
 Return our local endpoint address.
 
void dump () const
 Dump the state of an object.
 
- Public Member Functions inherited from ACE_IPC_SAP
int control (int cmd, void *) const
 Interface for <ioctl>.
 
int enable (int value) const
 
int disable (int value) const
 
ACE_HANDLE get_handle () const
 Get the underlying handle.
 
void set_handle (ACE_HANDLE handle)
 Set the underlying handle.
 
void dump () const
 Dump the state of an object.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 
- Public Attributes inherited from ACE_IPC_SAP
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Protected Member Functions

 ACE_TLI ()
 Default constructor.
 
 ~ACE_TLI ()
 Destructor.
 
 ACE_TLI (const char device[], int oflag=O_RDWR, struct t_info *info=0)
 Initialize a TLI endpoint.
 
- Protected Member Functions inherited from ACE_IPC_SAP
 ACE_IPC_SAP ()
 Default constructor.
 
 ~ACE_IPC_SAP ()
 Protected destructor.
 

Detailed Description

Defines the member functions for the base class of the ACE_TLI abstraction.

Constructor & Destructor Documentation

◆ ACE_TLI() [1/2]

ACE_TLI::ACE_TLI ( )
protected

Default constructor.

◆ ~ACE_TLI()

ACE_TLI::~ACE_TLI ( )
protected

Destructor.

◆ ACE_TLI() [2/2]

ACE_TLI::ACE_TLI ( const char device[],
int oflag = O_RDWR,
struct t_info * info = 0 )
protected

Initialize a TLI endpoint.

Member Function Documentation

◆ close()

int ACE_TLI::close ( )

Close a TLI endpoint and release resources.

◆ dump()

void ACE_TLI::dump ( ) const

Dump the state of an object.

◆ get_local_addr()

int ACE_TLI::get_local_addr ( ACE_Addr & sa) const

Return our local endpoint address.

◆ get_option()

int ACE_TLI::get_option ( int level,
int option,
void * optval,
int & optlen )

Get underlying protocol options.

◆ look()

int ACE_TLI::look ( ) const
inline

◆ open()

ACE_HANDLE ACE_TLI::open ( const char device[],
int oflag = O_RDWR,
struct t_info * info = 0 )

Initialize a TLI endpoint.

◆ rcvdis()

int ACE_TLI::rcvdis ( struct t_discon * discon = 0) const
inline

◆ rcvrel()

int ACE_TLI::rcvrel ( ) const
inline

◆ set_option()

int ACE_TLI::set_option ( int level,
int option,
void * optval,
int optlen )

Set underlying protocol options.

◆ snddis()

int ACE_TLI::snddis ( struct t_call * call = 0) const
inline

◆ sndrel()

int ACE_TLI::sndrel ( ) const
inline

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_TLI::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.


The documentation for this class was generated from the following files: