org::xmlBlaster::client::protocol::I_ProgressListener Class Reference

This interface is used to register listeners about incoming data. More...

Inheritance diagram for org::xmlBlaster::client::protocol::I_ProgressListener:

Inheritance graph
List of all members.

Public Member Functions

virtual ~I_ProgressListener ()
virtual void progress (const std::string &name, unsigned long currBytesRead, unsigned long numBytes)=0
 Notification about the current data progress.

Detailed Description

This interface is used to register listeners about incoming data.

Marcel Ruff.

Definition at line 17 of file I_ProgressListener.h.

Constructor & Destructor Documentation

virtual org::xmlBlaster::client::protocol::I_ProgressListener::~I_ProgressListener (  )  [virtual]

Definition at line 20 of file I_ProgressListener.h.

Member Function Documentation

virtual void org::xmlBlaster::client::protocol::I_ProgressListener::progress ( const std::string &  name,
unsigned long  currBytesRead,
unsigned long  numBytes 
) [pure virtual]

Notification about the current data progress.

The interval of notification is arbitrary and not guaranteed, each protocol driver may choose other strategies.

name A qualifying name about the incoming request, can be empty.
currBytesRead The number of bytes received up to now
numBytes The overall number of bytes

The documentation for this class was generated from the following file: