Commit graph

6 commits

Author SHA1 Message Date
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
cb3c3033bd 2009-01-28 Al Riddoch <alriddoch@googlemail.com>
* server/CommLocalClient.cpp, server/CommLocalClient.h: Fix the
	  constructor interface to match that used by the factory.

	* server/CommClientFactory.cpp: Add support for CommLocalClient.

	* server/CommUnixListener.cpp, server/CommUnixListener.h:
	  Convert the unix listener to use the CommClientFactory to remove
	  duplicated code.

	* server/server.cpp: Use the new style of listener API on the unix
	  socket.
2009-01-28 01:24:57 +00:00
Al Riddoch
7894f72083 2009-01-28 Al Riddoch <alriddoch@googlemail.com>
* server/CommClientFactory.cpp: Add support for CommSlaveClient.
2009-01-28 00:55:43 +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