Commit Graph

23 Commits

Author SHA1 Message Date
Michael Davidsaver
684da91675 testServerContext fix # of tests 2020-11-21 10:32:16 -08:00
Michael Davidsaver
ce25f0b175 ServerContext ref. loop breaking and threading
Drop unnecessary "worker" thread which does no work.
Ensure that returned shared_ptr is unique()==true.

Add ServerContext::create() to start a new server
with specific config and/or providers
2017-05-31 11:40:51 +02:00
Michael Davidsaver
7c85e6073b move ServerContextImpl into private header 2017-05-30 12:07:23 +02:00
Michael Davidsaver
9253c31c0b rework ChannelProviderRegistry
Replace interface+impls with a single concrete container
which wraps a map.

This breaks code which was sub-classing.
However, no external code can be found which does this.

A build() method is used instead of simple ctor so
that the ctor is private, which will cause theoretical
external sub-class code to fail to compile.

Code using getChannelProviderRegistry()
and existing methods will behave as before.

Add ChannelProviderRegistry::getFactory() for pass through
to ChannelProviderFactory (Registery is just a proxy()...)

Remove existing get/create virtual method in favor of getFactory.
Update both existing implementations.

Add SimpleChannelProviderFactory to cut down on boilerplace
for the common case.

Add method to clear mapping and release any saved sharedInstance.
2017-04-25 21:15:43 -04:00
Matej Sekoranja
5279d247ca general indent beautification 2016-03-10 23:36:16 +01:00
Matej Sekoranja
ba4102639e String -> std::string, toString methods removed 2014-06-19 14:29:41 +02:00
Matej Sekoranja
4e62a7d4df channelList using svector 2014-06-09 22:13:48 +02:00
Matej Sekoranja
aea156ebbb channelList 2014-06-09 21:32:20 +02:00
Matej Sekoranja
cdc03d8e97 porting tests and utils 2014-05-22 22:31:20 +02:00
Matej Sekoranja
a20dd07b85 ChannelProviderFactory, eget support for it 2013-06-04 00:32:58 +02:00
Matej Sekoranja
e11cca0fdb unused params warnings removed 2012-10-10 12:02:12 +02:00
Unknown
fba545818d compatibility with vxWorks 2012-09-05 14:10:43 +02:00
Matej Sekoranja
ae718719c3 passing string by const ref 2012-08-20 16:36:44 +02:00
Marty Kraimer
99d55ef56b Ok => OK 2012-08-17 06:46:31 -04:00
Matej Sekoranja
49bc940179 removed CDRMonitor, ported to new Timer API 2012-07-18 11:09:00 +02:00
Matej Sekoranja
3a68046c7c OK -> Ok 2012-03-29 08:20:48 +02:00
Matej Sekoranja
54d435972b new ByteBuffer support 2011-09-08 11:15:36 +02:00
Marty Kraimer
2ee024ecb8 include files put into include/pv 2011-06-07 08:31:41 -04:00
Matej Sekoranja
1da4173535 shared_pointer const & 2011-05-13 14:02:06 +02:00
Matej Sekoranja
c36ba5264d port from pvAccessCPP-md 2011-05-12 12:47:55 +02:00
Gasper Jansa
a9273e33ed CDRMonitor add 2011-02-07 22:12:52 +01:00
Gasper Jansa
de8b632381 serverContext and beacon emitter impl 2011-02-04 16:22:28 +01:00
Gasper Jansa
327efbcf80 server context implementation 2011-01-31 22:52:25 +01:00