Commit graph

11 commits

Author SHA1 Message Date
Alistair Riddoch
121137c490 Make template more flexible 2012-07-31 23:32:22 +01:00
Alistair Riddoch
022a71384c Room duplicate classes and separate out deps 2012-03-14 15:57:24 +00:00
Alistair Riddoch
81bf123e07 Don't need this forward declaration 2012-03-05 14:16:24 +00:00
Alistair Riddoch
3b3e5cef33 Untable these factory classes for cleaner linking 2012-03-05 00:12:17 +00:00
Alistair Riddoch
34556ed9a4 Hold a reference to server from client factory 2011-10-30 01:04:36 +02:00
Alistair Riddoch
6e9d05c5a5 Add class documentation. 2009-08-24 02:38:09 +01:00
Alistair Riddoch
addfa03f78 Add missing header guards. 2009-03-22 20:07:36 +00:00
Al Riddoch
ac7665e3c0 2009-01-30 Al Riddoch <alriddoch@googlemail.com>
* server/CommClientFactory.cpp, server/CommClientFactory.h,
	  server/server.cpp: Add in test support for the python client.
2009-01-30 00:43:41 +00:00
Al Riddoch
e3858e1c36 2009-01-29 Al Riddoch <alriddoch@googlemail.com>
* server/CommClientFactory.cpp, server/CommClientFactory.h: Add a
	  new factory for http client objects.

	* server/CommStreamListener.cpp, server/CommStreamListener.h:
	  Move the client factory behavior into this base class
	  as all listners will now be using it.

	* server/CommTCPListener.cpp, server/CommTCPListener.h,
	  server/CommUnixListener.cpp, server/CommUnixListener.h:
	  Require a client factory reference and pass to the base class
	  which uses it.

	* server/Makefile.am: Remove obsolete special purpose listeners.

	* server/server.cpp: Use straight TCP listeners for everything
	  as no special purpose listener functionality is required any more.
2009-01-29 16:26:25 +00:00
Al Riddoch
61415545d8 2009-01-28 Al Riddoch <alriddoch@googlemail.com>
* server/CommPeer.h, server/CommPeer.cpp: Re-factor CommPeer to
	  only be used for initiating peer connections.

	* server/Admin.cpp: Use the modified CommPeer constructor.

	* server/CommClient.h, server/CommClient.cpp: Make the connection
	  a pointer rather than a reference, and pass it in during setup.

	* server/CommClientFactory.h, server/CommClientFactory.cpp: Re-factor
	  the commclient factory to take connection type as a template param,
	  and create the client and connection objects separately.

	* server/server.cpp: Use the modified CommClientFactory parameter.

	* server/Makefile.am: Remove the different kinds of client class
	  from the build.
2009-01-28 02:21:29 +00:00
Al Riddoch
cd5abdca14 2009-01-28 Al Riddoch <alriddoch@googlemail.com>
* server/CommClientFactory.cpp, server/CommClientFactory.h,
	  server/Makefile.am: A new experimental way to create socket objects.
2009-01-28 00:10:58 +00:00