NAME

ACE_Asynch_Result -

An interface base class which allows users access to common information related to an asynchronous operation.

SYNOPSIS

class ACE_Asynch_Result { public: u_long bytes_transferred (void) const; const void *act (void) const; int success (void) const; const void *completion_key (void) const; u_long error (void) const; ACE_HANDLE event (void) const; u_long offset (void) const; u_long offset_high (void) const; int priority (void) const; int signal_number (void) const; virtual ~ACE_Asynch_Result (void); protected: ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation); ACE_Asynch_Result_Impl *implementation (void) const; ACE_Asynch_Result_Impl *implementation_; };

DESCRIPTION

This works on Win32 (#if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) platforms and on POSIX4 platforms with aio_* routines (#if defined (ACE_HAS_AIO_CALLS))

On Win32 platforms, the implementation of ACE_Asynch_Transmit_File and ACE_Asynch_Accept are only supported if ACE_HAS_WINSOCK2 is defined or you are on WinNT 4.0 or higher.

PUBLIC MEMBERS

u_long bytes_transferred (void) const;

const void *act (void) const;

int success (void) const;

const void *completion_key (void) const;

u_long error (void) const;

ACE_HANDLE event (void) const;

u_long offset (void) const;

u_long offset_high (void) const;

int priority (void) const;

int signal_number (void) const;

virtual ~ACE_Asynch_Result (void);

PROTECTED MEMBERS

ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation);

ACE_Asynch_Result_Impl *implementation (void) const;

ACE_Asynch_Result_Impl *implementation_;

AUTHOR

Irfan Pyarali irfan@cs.wustl.edu, Tim Harrison harrison@cs.wustl.edu and Alexander Babu Arulanthu alex@cs.wustl.edu

LIBRARY

ace