root/isimud/exchanges/MIT/TRQ/trq_sim.hpp

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef libjmmcg_isimud_exchanges_MIT_TRQ_trq_sim_hpp
   2 #define libjmmcg_isimud_exchanges_MIT_TRQ_trq_sim_hpp
   3 
   4 /******************************************************************************
   5 ** $Header: svn+ssh://jmmcg@svn.code.sf.net/p/libjmmcg/code/trunk/libjmmcg/isimud/exchanges/MIT/TRQ/trq_sim.hpp 2251 2018-02-20 23:30:57Z jmmcg $
   6 **
   7 ** Copyright (c) 2015 by J.M.McGuiness, isimud@hussar.me.uk
   8 **
   9 ** This library is free software; you can redistribute it and/or
  10 ** modify it under the terms of the GNU Lesser General Public
  11 ** License as published by the Free Software Foundation; either
  12 ** version 2.1 of the License, or (at your option) any later version.
  13 **
  14 ** This library is distributed in the hope that it will be useful,
  15 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17 ** Lesser General Public License for more details.
  18 **
  19 ** You should have received a copy of the GNU Lesser General Public
  20 ** License along with this library; if not, write to the Free Software
  21 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  22 */
  23 
  24 #include "messages.hpp"
  25 
  26 #include "../common/connectivity_policy.hpp"
  27 #include "../common/processing_rules.hpp"
  28 
  29 #include "core/socket_server.hpp"
  30 #include "core/socket_server_manager.hpp"
  31 
  32 namespace isimud { namespace exchanges { namespace MIT { namespace TRQ {
  33 
  34 using socket_t=jmmcg::socket::asio::socket_wrapper;
  35 // TODO using socket_t=jmmcg::socket::glibc::client::wrapper;
  36 
  37 using simulator_t=jmmcg::socket::svr<
  38         common::simulator_responses<MsgTypes, socket_t>,
  39         jmmcg::socket::server_manager::loopback<common::server_hb_t<typename MsgTypes::ServerHeartbeat>, socket_t>
  40 >;
  41 
  42 } } } }
  43 
  44 #endif

/* [<][>][^][v][top][bottom][index][help] */