Public Member Functions | |
virtual void | AddRef ()=0 |
virtual void | OnError (DWORD lastError)=0 |
Called when an error has occurred before the operation can be handled. | |
virtual void | HandleOperation (IBuffer *pBuffer, DWORD ioSize, DWORD lastError)=0 |
Called when a buffer has an operation that needs to be handled. | |
virtual DWORD | GetError (const OVERLAPPED &overlapped)=0 |
Protected Member Functions | |
virtual | ~IRefCountedHandler () |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. | |
Static Protected Member Functions | |
static DWORD | GetError (HANDLE handle, const OVERLAPPED &overlapped) |
virtual ~IRefCountedHandler | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual void AddRef | ( | ) | [pure virtual] |
virtual void OnError | ( | DWORD | lastError | ) | [pure virtual, inherited] |
Called when an error has occurred before the operation can be handled.
Implemented in TDatagramSocketServer.
virtual void HandleOperation | ( | IBuffer * | pBuffer, | |
DWORD | ioSize, | |||
DWORD | lastError | |||
) | [pure virtual, inherited] |
Called when a buffer has an operation that needs to be handled.
virtual DWORD GetError | ( | const OVERLAPPED & | overlapped | ) | [pure virtual, inherited] |
Implemented in TDatagramSocketServer, TAsyncSocket< JetByteTools::Socket::IPoolableStreamSocket, JetByteTools::Socket::IStreamSocketConnectionManager, JetByteTools::Socket::IStreamSocketCallback >, TAsyncSocket< JetByteTools::Socket::TMulticastDatagramHelper< JetByteTools::Socket::IPoolableDatagramSocket >, JetByteTools::Socket::IDatagramSocketConnectionManager, JetByteTools::Socket::IDatagramSocketCallback >, and TAsyncSocket< JetByteTools::Socket::IPoolableDatagramServerSocket, JetByteTools::Socket::IDatagramServerSocketConnectionManager, JetByteTools::Socket::IDatagramServerSocketCallback >.
DWORD GetError | ( | HANDLE | handle, | |
const OVERLAPPED & | overlapped | |||
) | [static, protected, inherited] |