trader  v0.1a
A framework to build trading applications
fybconnection.h
1 // <copyright file="fybconnection.h" company="FinSec Systems">
3 // Copyright (c) 2018 finsec.systems. All rights reserved.
4 // </copyright>
5 // <author>Viknash</author>
6 // <date>12/5/2018</date>
7 // <summary>FYB Api connection Declaration</summary>
9 #pragma once
10 
11 #include "api.h"
12 #include "app.h"
13 #include "interface.h"
14 #include "interfacehelper.h"
15 #include "fyb.h"
16 
17 namespace trader
18 {
19 
20  class Fyb;
21 
23  class FybConnection : public Interface::CallConnection, public Poco::Runnable
24  {
25  public:
32  FybConnection(const std::string &connectionid, Fyb *_exchange)
33  : exchange(_exchange)
34  {
35  (void)connectionid;
36  }
37 
39  void run() {}
40 
41  private:
42  Fyb * exchange;
43  };
44 
45 } // namespace trader
void run()
Runs this object.
Definition: fybconnection.h:39
A fyb.
Definition: fyb.h:33
FybConnection(const std::string &connectionid, Fyb *_exchange)
Initializes a new instance of the FybConnection class.
Definition: fybconnection.h:32
A fyb connection.
Definition: fybconnection.h:23
Definition: app.h:7
Definition: interface.h:18267