Changes between Version 11 and Version 12 of soc/2007/cgi


Ignore:
Timestamp:
Jun 26, 2007, 2:38:04 PM (15 years ago)
Author:
Darren Garvey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • soc/2007/cgi

    v11 v12  
    9191== Important Internal Classes ==
    9292
    93 === ```cgi::gateway<>``` ===
     93=== ```cgi::basic_gateway<>``` ===
    9494The gateway is the abstraction of the interface with the server. This can vary from just an abstraction of std::cin/cout to a fully multiplexed set of connections, which can themselves be of more than one type.
    9595
    96 === ```cgi::acceptor<>``` ===
    97 Accepts connections. This should probably accept on only one connection type (meaning the ```gateway``` would be responsible for retrying an accept on a different connection type if that's allowed by the current protocol.
    98 
    99 === ```cgi::dispatcher<>``` ===
    100 Completion handlers should be sent to a dispatcher to be called since a variety of dispatching methods should be available. The most basic/general is a thread-per-request dispatcher; more efficient would be a thread-pool dispatcher. Users should be able to implement their own dispatcher if they wish without having to know about any other class: encapsulation is important. ''Note: asio already has a dispatcher, so what can be used from that?''
     96=== ```cgi::basic_request_acceptor<>``` ===
     97Accepts a new, possibly unloaded request. Before using the request `cgi::basic_request<>::load()` or `cgi::basic_request<>::async_load()` '''must''' be called.
    10198
    10299