libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jse.hpp
Go to the documentation of this file.
1
#
ifndef
ISIMUD_EXCHANGES_MIT_JSE_jse_hpp
2
#
define
ISIMUD_EXCHANGES_MIT_JSE_jse_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
29
#
include
"core/socket_server.hpp"
30
31
namespace
isimud
{
namespace
ISIMUD_VER_NAMESPACE
{
namespace
exchanges {
namespace
MIT
{
namespace
JSE
{
32
33
using
connection_t=exchanges::common::
connection
<
MsgTypes
,
common
::
connectivity_policy
<
MsgTypes
::logon_args_t>>;
34
35
template
<
class
ClientMsgTypes
>
36
using
client_cxn_t
=
libjmmcg
::
socket
::
svr
<
37
common
::
client_to_exchange_transformations
<
ClientMsgTypes
,
MsgTypes
>,
38
libjmmcg
::
socket
::
server_manager
::
forwarding
<
connection_t
::
socket_t
>
39
>;
40
template
<
class
ClientMsgTypes>
41
using
exchange_cxn_t=exchanges::common::connection_processor<
42
common
::exchange_to_client_transformations<
MsgTypes
, ClientMsgTypes>,
43
common
::
connectivity_policy
<
MsgTypes
::logon_args_t>
44
>;
45
46
template
<
class
ClientMsgTypes
>
47
using
link_t
=
exchanges
::
common
::
exchange_connection
<
48
client_cxn_t
<
ClientMsgTypes
>,
49
exchange_cxn_t
<
ClientMsgTypes
>
50
>;
51
52
} } } } }
53
54
#
endif
isimud
exchanges
MIT
JSE
jse.hpp
Generated on Tue May 11 2021 17:25:59 for libjmmcg by
1.9.2