libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
bit.hpp
Go to the documentation of this file.
1 #ifndef ISIMUD_EXCHANGES_MIT_BIT_bit_hpp
2 #define ISIMUD_EXCHANGES_MIT_BIT_bit_hpp
3 
4 /******************************************************************************
5 ** Copyright © 2015 by J.M.McGuiness, isimud@hussar.me.uk
6 **
7 ** This library is free software; you can redistribute it and/or
8 ** modify it under the terms of the GNU Lesser General Public
9 ** License as published by the Free Software Foundation; either
10 ** version 2.1 of the License, or (at your option) any later version.
11 **
12 ** This library is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ** Lesser General Public License for more details.
16 **
17 ** You should have received a copy of the GNU Lesser General Public
18 ** License along with this library; if not, write to the Free Software
19 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21 
22 #include "messages.hpp"
23 
24 #include "../common/connectivity_policy.hpp"
25 #include "../common/processing_rules.hpp"
26 #include "../../common/connection.hpp"
27 #include "../../common/exchange_connection.hpp"
28 #include "core/socket_server.hpp"
29 
30 namespace isimud { namespace ISIMUD_VER_NAMESPACE { namespace exchanges { namespace MIT { namespace BIT {
31 
32 using connection_t=exchanges::common::connection<MsgTypes, common::connectivity_policy<MsgTypes::logon_args_t>>;
33 
34 template<class ClientMsgTypes>
38 >;
39 template<class ClientMsgTypes>
40 using exchange_cxn_t=exchanges::common::connection_processor<
41  common::exchange_to_client_transformations<MsgTypes, ClientMsgTypes>,
42  common::connectivity_policy<MsgTypes::logon_args_t>
43 >;
44 
45 template<class ClientMsgTypes>
49 >;
50 
51 } } } } }
52 
53 #endif