class axl::io::win::Iocp

#include <axl_io_win_Iocp.h>

class Iocp: public axl::sl::Handle
{
public:
    // methods

    bool
    create(dword_t threadCount);

    bool
    associate(
        HANDLE hIo,
        void* context
        );

    bool
    postCompletionStatus(
        dword_t actualSize,
        void* context,
        OVERLAPPED* overlapped
        );

    bool
    getCompletionStatus(
        dword_t* actualSize,
        void** context,
        OVERLAPPED** overlapped,
        uint_t timeout
        );
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();