ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/DecentralizedMedia.hpp
(Generate patch)

Comparing DecentralizedMedia/DecentralizedMedia.hpp (file contents):
Revision 534 by douglas, 2005-06-29T23:01:02-07:00 vs.
Revision 540 by douglas, 2005-07-01T23:56:04-07:00

# Line 26 | Line 26 | class DecentralizedMedia : public waf::S
26   public:
27          BeepRemote bmp;
28   private:
29 <        _H<api::Thread> block;
30 <        _H<api::Process> process;
31 <        mutable _H<dbi::Connection> connection;
29 >        _P<api::Thread> block;
30 >        _P<api::Process> process;
31 >        mutable _P<dbi::Connection> connection;
32          const ext::RedBlackSet<cse::String>& extensions;
33 <        ext::RedBlackMap<cse::String, _H<Share> > sharesByPath;
34 <        ext::RedBlackMap<api::Address, ext::RedBlackMap<cse::String, _H<Share> > > sharesByHost;
33 >        mta::ReaderWriterLock sharesLock;
34 >        ext::RedBlackMap<cse::String, _P<Share> > sharesByPath;
35 >        ext::RedBlackMap<api::Address, ext::RedBlackMap<cse::String, _P<Share> > > sharesByHost;
36          void Media(ios::Reader& media, const api::Address& host = api::InternetAddress());
37 <        void Media(const _H<xml::Node>& folder, const api::Path& path, const api::Path& root);
37 >        void Media(const _P<xml::Node>& folder, const api::Path& path, const api::Path& root);
38          int Destroy() { return process->Join(); }
39   protected:
40          virtual void Process(const net::Http::Request& request, net::Http::Response& response);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines