After looking at it a little more, the request/response typedefs in
'basic_server' are coupled to the request/response types in class
'connection', and couldn't possibly be anything other than
'basic_request' and 'basic_response'.

It seems to me that if the 'Tag' template arg is exclusively used to
drive the request and response types.  If the 'Tag' template arg was
replaced with 'Request' and 'Response' template args in both the
basic_server and connection classes, the type coupling could be factored
out.

I know this is all under development, and the design is a work in
progress... it could be that this doesn't work.

Erik

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to