|
| ACE_POSIX_Wakeup_Completion (const ACE_Handler::Proxy_Ptr &handler_proxy, const void *act=0, ACE_HANDLE event=ACE_INVALID_HANDLE, int priority=0, int signal_number=ACE_SIGRTMIN) |
| Constructor. More...
|
|
| ~ACE_POSIX_Wakeup_Completion () override |
| Destructor. More...
|
|
void | complete (size_t bytes_transferred=0, int success=1, const void *completion_key=0, u_long error=0) override |
| This method calls the <handler>'s <handle_wakeup> method. More...
|
|
size_t | bytes_transferred () const |
| Number of bytes transferred by the operation. More...
|
|
const void * | act () const |
| ACT associated with the operation. More...
|
|
int | success () const |
| Did the operation succeed? More...
|
|
const void * | completion_key () const |
|
u_long | error () const |
| Error value if the operation fails. More...
|
|
ACE_HANDLE | event () const |
| This returns ACE_INVALID_HANDLE on POSIX4 platforms. More...
|
|
u_long | offset () const |
|
u_long | offset_high () const |
|
int | priority () const |
| Priority of the operation. More...
|
|
int | signal_number () const |
|
int | post_completion (ACE_Proactor_Impl *proactor) |
| Post this to the Proactor. More...
|
|
virtual | ~ACE_POSIX_Asynch_Result () |
| Destructor. More...
|
|
void | set_error (u_long errcode) |
| Simulate error value to use in the post_completion () More...
|
|
void | set_bytes_transferred (size_t nbytes) |
| Simulate value to use in the post_completion () More...
|
|
virtual | ~ACE_Asynch_Result_Impl () |
|
virtual size_t | bytes_transferred () const =0 |
| Number of bytes transferred by the operation. More...
|
|
virtual const void * | act () const =0 |
| ACT associated with the operation. More...
|
|
virtual int | success () const =0 |
| Did the operation succeed? More...
|
|
virtual const void * | completion_key () const =0 |
|
virtual u_long | error () const =0 |
| Error value if the operation fail. More...
|
|
virtual ACE_HANDLE | event () const =0 |
| Event associated with the OVERLAPPED structure. More...
|
|
virtual u_long | offset () const =0 |
| This really make sense only when doing file I/O. More...
|
|
virtual u_long | offset_high () const =0 |
|
virtual int | priority () const =0 |
| Priority of the operation. More...
|
|
virtual int | signal_number () const =0 |
|
virtual void | complete (size_t bytes_transferred, int success, const void *completion_key, u_long error=0)=0 |
| This is called when the asynchronous operation completes. More...
|
|
virtual int | post_completion (ACE_Proactor_Impl *proactor)=0 |
| Post this to the Proactor's completion port. More...
|
|
This result object is used by the <end_event_loop> of the ACE_Proactor interface to wake up all the threads blocking for completions.