ACE 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
ACE_ATM_Stream Class Reference

Defines the member functions for ACE_ATM_Stream abstraction. More...

#include <ATM_Stream.h>

Collaboration diagram for ACE_ATM_Stream:
Collaboration graph
[legend]

Public Types

typedef ACE_ATM_Addr PEER_ADDR
 

Public Member Functions

 ACE_ATM_Stream ()
 Default constructor.
 
int open (ACE_ATM_Params params=ACE_ATM_Params())
 open the stream.
 
int close ()
 Close down and release resources.
 
ACE_HANDLE get_handle () const
 Get the underlying handle.
 
ATM_Streamget_stream ()
 Get the underlying stream.
 
charget_peer_name () const
 Get the name of the connected host.
 
int get_vpi_vci (ACE_UINT16 &vpi, ACE_UINT16 &vci) const
 Get the VPI and VCI of the stream.
 
ssize_t recv (void *buf, size_t n, int *flags=0) const
 Recv an n byte buffer from the connected transport mechanism.
 
ssize_t send_n (const void *buf, size_t n, int flags) const
 Send exactly n bytes to the connected transport mechanism.
 
void dump () const
 Dump the state of an object.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Private Attributes

ATM_Stream stream_
 Typedef'd to the appropriate stream mechanism above.
 

Detailed Description

Defines the member functions for ACE_ATM_Stream abstraction.

Member Typedef Documentation

◆ PEER_ADDR

Constructor & Destructor Documentation

◆ ACE_ATM_Stream()

ACE_ATM_Stream::ACE_ATM_Stream ( )
inline

Default constructor.

Member Function Documentation

◆ close()

int ACE_ATM_Stream::close ( )
inline

Close down and release resources.

◆ dump()

void ACE_ATM_Stream::dump ( ) const
inline

Dump the state of an object.

◆ get_handle()

ACE_HANDLE ACE_ATM_Stream::get_handle ( ) const

Get the underlying handle.

◆ get_peer_name()

char * ACE_ATM_Stream::get_peer_name ( ) const

Get the name of the connected host.

◆ get_stream()

ATM_Stream & ACE_ATM_Stream::get_stream ( )
inline

Get the underlying stream.

◆ get_vpi_vci()

int ACE_ATM_Stream::get_vpi_vci ( ACE_UINT16 & vpi,
ACE_UINT16 & vci ) const

Get the VPI and VCI of the stream.

◆ open()

int ACE_ATM_Stream::open ( ACE_ATM_Params params = ACE_ATM_Params())
inline

open the stream.

◆ recv()

ssize_t ACE_ATM_Stream::recv ( void * buf,
size_t n,
int * flags = 0 ) const
inline

Recv an n byte buffer from the connected transport mechanism.

◆ send_n()

ssize_t ACE_ATM_Stream::send_n ( const void * buf,
size_t n,
int flags ) const
inline

Send exactly n bytes to the connected transport mechanism.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_ATM_Stream::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ stream_

ATM_Stream ACE_ATM_Stream::stream_
private

Typedef'd to the appropriate stream mechanism above.


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