Files
MaxScale/server
Johan Wikman 7f9fdd0f3d Add router template
Using the class RouterSession and the template Router, a router
module can be defined. The way they are intended to be used are
as follows:

  class MyRouterSession : public maxscale::RouterSession
  {
      ...
  };

  class MyRouter : public maxscale::Router<MyRouter, MyRouterSession>
  {
      ...
  }

  ...

  extern "C" MXS_MODULE* MXS_CREATE_MODULE()
  {
     static MXS_MODULE module =
     {
         ...
         &MyRouter::s_object,
         ...
     };

     return &module;
  }
2017-03-03 15:30:25 +02:00
..
2017-03-03 15:30:25 +02:00
2016-11-28 14:37:26 +02:00
2017-03-03 13:37:14 +02:00
2017-02-14 21:42:28 +02:00
2017-01-16 10:56:33 +02:00