Public Member Functions | |
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 | ~IHandler () |
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 ~IHandler | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual void OnError | ( | DWORD | lastError | ) | [pure virtual] |
Called when an error has occurred before the operation can be handled.
Implemented in TDatagramSocketServer.
Called when a buffer has an operation that needs to be handled.
virtual DWORD GetError | ( | const OVERLAPPED & | overlapped | ) | [pure virtual] |
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] |