OnixS C++ CME Market Data Handler  5.4.0
API documentation
FeedListener.h
Go to the documentation of this file.
1 // Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2 //
3 // This software owned by Onix Solutions Limited [OnixS] and is
4 // protected by copyright law and international copyright treaties.
5 //
6 // Access to and use of the software is governed by the terms of the applicable
7 // OnixS Software Services Agreement (the Agreement) and Customer end user license
8 // agreements granting a non-assignable, non-transferable and non-exclusive license
9 // to use the software for it's own data processing purposes under the terms defined
10 // in the Agreement.
11 //
12 // Except as otherwise granted within the terms of the Agreement, copying or
13 // reproduction of any part of this source code or associated reference material
14 // to any other location for further reproduction or redistribution, and any
15 // amendments to this copyright notice, are expressly prohibited.
16 //
17 // Any reproduction or redistribution for sale or hiring of the Software not in
18 // accordance with the terms of the Agreement is a violation of copyright law.
19 //
20 
21 #pragma once
22 
23 #include <OnixS/CME/MDH/String.h>
24 
26 
28 (
29  NetFeed
30 );
31 
32 /// Collection of the events raised by the
33 /// NetFeed at various stages of its lifetime.
36 {
37  /// Invoked by a NetFeed instance when
38  /// it connected/joined the remote address.
39  virtual
40  void
42  const NetFeed&)
43  {
44  }
45 
46  /// Invoked by a NetFeed instance when
47  /// a non-critical issue occurred while
48  /// connecting/joining the remote address.
49  virtual
50  void
52  const NetFeed&,
53  const Char*)
54  {
55  }
56 
57  /// Invoked by a NetFeed instance when it was
58  /// not able to connect/join the remote address.
59  virtual
60  void
62  const NetFeed&,
63  const Char*)
64  {
65  }
66 
67  /// Invoked by a NetFeed instance when it
68  /// disconnected/unjoined the remote address.
69  virtual
70  void
72  const NetFeed&)
73  {
74  }
75 };
76 
virtual void onConnectIssue(const NetFeed &, const Char *)
Definition: FeedListener.h:51
char Char
Character type alias.
Definition: String.h:36
virtual void onDisconnected(const NetFeed &)
Definition: FeedListener.h:71
Base attributes of market data feed.
Definition: Feed.h:60
virtual void onConnected(const NetFeed &)
Definition: FeedListener.h:41
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
Definition: Bootstrap.h:152
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
Definition: Bootstrap.h:106
virtual void onConnectFailure(const NetFeed &, const Char *)
Definition: FeedListener.h:61
#define ONIXS_CMEMDH_EXPORTED_STRUCT
Definition: Bootstrap.h:58
#define ONIXS_CMEMDH_NAMESPACE_END
Definition: Bootstrap.h:156