OnixS MX HSVF Market Data Handler for C++  1.9.2.0
Public Member Functions | Protected Member Functions
IErrorListener Class Reference

Defines an interface through which the Handler notifies subscribers about errors occurred while processing messages. More...

List of all members.

Public Member Functions

virtual void onError (ErrorCode::Enum code, const char *description)
 Implement this member to get notified about errors.

Protected Member Functions

virtual ~IErrorListener ()
 Disables public delete operator in the interface class.

Detailed Description

Defines an interface through which the Handler notifies subscribers about errors occurred while processing messages.


Member Function Documentation

virtual void onError ( ErrorCode::Enum  code,
const char *  description 
) [inline, virtual]

Implement this member to get notified about errors.

Parameters:
codeidentifies error occurred while processing messages.
descriptionsupplies notes on occurred error.
Note:
Usually, Handler is capable to recover from errors by itself. That means, there's no need to restart manually. Instead, Handler will perform all necessary recovering by itself.