IHandler Class Reference
[InterfacesI/O BuffersProtected destructors on abstract base classes]

Inheritance diagram for IHandler:

Inheritance graph
[legend]

List of all members.


Detailed Description

An interface that represents code that handles operations on I/O buffers.

Public Member Functions

virtual void OnError (const DWORD lastError)=0
 Called when an error has occurred before the operation can be handled.
virtual void HandleOperation (IBuffer *pBuffer, const DWORD ioSize, const DWORD lastError)=0
 Called when a buffer has an operation that needs to be handled.

Protected Member Functions

 ~IHandler ()
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.

Constructor & Destructor Documentation

~IHandler (  )  [inline, protected]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

virtual void OnError ( const DWORD  lastError  )  [pure virtual]

Called when an error has occurred before the operation can be handled.

Implemented in CDatagramSocketServer.

virtual void HandleOperation ( IBuffer pBuffer,
const DWORD  ioSize,
const DWORD  lastError 
) [pure virtual]

Called when a buffer has an operation that needs to be handled.

Implemented in CDatagramSocketServer, TAsyncSocket< JetByteTools::Socket::IPoolableDatagramSocket, JetByteTools::Socket::IDatagramSocketConnectionManager, JetByteTools::Socket::IDatagramSocketCallback >, TAsyncSocket< JetByteTools::Socket::IPoolableStreamSocket, JetByteTools::Socket::IStreamSocketConnectionManager, JetByteTools::Socket::IStreamSocketCallback >, and TAsyncSocket< JetByteTools::Socket::IPoolableDatagramServerSocket, JetByteTools::Socket::IDatagramServerSocketConnectionManager, JetByteTools::Socket::IDatagramServerSocketCallback >.


Generated on Mon Sep 7 14:08:57 2009 for JetByte Socket Tools - v6.1 by  doxygen 1.5.3