diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /apps/JAWS2/JAWS/Policy.cpp | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'apps/JAWS2/JAWS/Policy.cpp')
-rw-r--r-- | apps/JAWS2/JAWS/Policy.cpp | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/apps/JAWS2/JAWS/Policy.cpp b/apps/JAWS2/JAWS/Policy.cpp deleted file mode 100644 index 9eac271416a..00000000000 --- a/apps/JAWS2/JAWS/Policy.cpp +++ /dev/null @@ -1,89 +0,0 @@ -// $Id$ - -#include "JAWS/Policy.h" -#include "JAWS/Concurrency.h" -#include "JAWS/IO_Handler.h" -#include "JAWS/IO_Acceptor.h" - -ACE_RCSID(JAWS, Policy, "$Id$") - -JAWS_Dispatch_Policy::JAWS_Dispatch_Policy (void) -{ -} - -JAWS_Dispatch_Policy::~JAWS_Dispatch_Policy (void) -{ -} - -JAWS_Default_Dispatch_Policy::JAWS_Default_Dispatch_Policy (void) - : ratio_ (1), - concurrency_ (JAWS_Thread_Pool_Singleton::instance ()), - ioh_factory_ (JAWS_Synch_IO_Handler_Factory_Singleton::instance ()), - acceptor_ (JAWS_IO_Synch_Acceptor_Singleton::instance ()), - io_ (JAWS_Synch_IO_Singleton::instance ()) -{ -} - -JAWS_Default_Dispatch_Policy::~JAWS_Default_Dispatch_Policy (void) -{ -} - -int -JAWS_Default_Dispatch_Policy::ratio (void) -{ - return this->ratio_; -} - -JAWS_IO * -JAWS_Default_Dispatch_Policy::io (void) -{ - return this->io_; -} - -JAWS_IO_Handler_Factory * -JAWS_Default_Dispatch_Policy::ioh_factory (void) -{ - return this->ioh_factory_; -} - -JAWS_IO_Acceptor * -JAWS_Default_Dispatch_Policy::acceptor (void) -{ - return this->acceptor_; -} - -JAWS_Concurrency_Base * -JAWS_Default_Dispatch_Policy::concurrency (void) -{ - return this->concurrency_; -} - -void -JAWS_Default_Dispatch_Policy::ratio (int r) -{ - this->ratio_ = r; -} - -void -JAWS_Default_Dispatch_Policy::io (JAWS_IO *io) -{ - this->io_ = io; -} - -void -JAWS_Default_Dispatch_Policy::ioh_factory (JAWS_IO_Handler_Factory *iohf) -{ - this->ioh_factory_ = iohf; -} - -void -JAWS_Default_Dispatch_Policy::acceptor (JAWS_IO_Acceptor *acceptor) -{ - this->acceptor_ = acceptor; -} - -void -JAWS_Default_Dispatch_Policy::concurrency (JAWS_Concurrency_Base *concp) -{ - this->concurrency_ = concp; -} |