1 #ifndef libjmmcg_isimud_exchanges_BATSBOE_US_v2_batsboe_hpp
2 #define libjmmcg_isimud_exchanges_BATSBOE_US_v2_batsboe_hpp
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 #include "messages.hpp"
25
26 #include "../../common/connectivity_policy.hpp"
27 #include "../../common/processing_rules.hpp"
28 #include "../../../common/connection.hpp"
29 #include "../../../common/exchange_connection.hpp"
30
31 #include "core/socket_server.hpp"
32
33 namespace isimud { namespace exchanges { namespace BATSBOE { namespace US { namespace v2 {
34
35 using connection_t=exchanges::common::connection<MsgTypes, common::connectivity_policy<MsgTypes::logon_args_t>>;
36
37 template<class ClientMsgTypes>
38 using client_cxn_t=jmmcg::socket::svr<
39 common::client_to_exchange_transformations<ClientMsgTypes, MsgTypes, connection_t::socket_t>,
40 jmmcg::socket::server_manager::forwarding<connection_t::socket_t>
41 >;
42 template<class ClientMsgTypes>
43 using exchange_cxn_t=exchanges::common::connection_processor<
44 common::exchange_to_client_transformations<MsgTypes, ClientMsgTypes, connection_t::socket_t>,
45 common::connectivity_policy<MsgTypes::logon_args_t>
46 >;
47
48 template<class ClientMsgTypes>
49 using link_t=exchanges::common::exchange_connection<
50 client_cxn_t<ClientMsgTypes>,
51 exchange_cxn_t<ClientMsgTypes>
52 >;
53
54 } } } } }
55
56 #endif