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-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-03 15:30:25 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-27 14:41:01 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-03 13:28:27 +02:00
2017-02-27 13:36:51 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:48:36 +02:00
2017-02-14 21:42:28 +02:00
2017-02-27 14:41:01 +02:00
2017-02-20 11:07:44 +02:00
2017-02-20 11:07:44 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-20 11:17:49 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-03-03 13:37:14 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:44:55 +02:00
2017-02-14 21:42:28 +02:00
2017-03-03 15:30:25 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:48:36 +02:00
2017-02-27 14:41:01 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-14 21:42:28 +02:00
2017-02-15 08:48:36 +02:00
2017-02-14 21:42:28 +02:00