diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-10 02:55:15 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-10 02:55:15 +0000 |
commit | f81fef89db3e8c5e459cc18a28652f99303095c3 (patch) | |
tree | df828738e8cff2bac26bf4de25914af19913e42d | |
parent | 51e605314e69544d8c728dacc178cf89858cc6e9 (diff) | |
download | ATCD-f81fef89db3e8c5e459cc18a28652f99303095c3.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-97a | 19 | ||||
-rw-r--r-- | apps/Gateway/Gateway/Proxy_Handler.cpp | 4 | ||||
-rw-r--r-- | apps/Gateway/Gateway/Proxy_Handler.h | 4 | ||||
-rw-r--r-- | examples/Connection/blocking/SPIPE-connector.h | 2 | ||||
-rw-r--r-- | examples/Connection/misc/test_upipe.cpp | 3 | ||||
-rw-r--r-- | examples/Connection/non_blocking/CPP-connector.h | 2 | ||||
-rw-r--r-- | netsvcs/lib/TS_Clerk_Handler.cpp | 4 |
7 files changed, 32 insertions, 6 deletions
diff --git a/ChangeLog-97a b/ChangeLog-97a index 59c7a9f7c76..3119c5e5653 100644 --- a/ChangeLog-97a +++ b/ChangeLog-97a @@ -1,4 +1,21 @@ -Wed Apr 9 20:25:36 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> +Wed Apr 9 21:11:38 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu> + + * examples/Connection/non_blocking/CPP-connector.h: Added a + do-nothing default constructor to keep ACE_Connector happy. + + * examples/Connection/misc/test_upipe.cpp: Added a do-nothing + default constructor to keep ACE_Connector happy. + + * examples/Connection/blocking/SPIPE-connector.h: Added a + do-nothing default constructor to keep ACE_Connector happy. + + * apps/Gateway/Gateway/Proxy_Handler: Added a do-nothing default + constructor to keep ACE_Connector happy. + + * netsvcs/lib: Added some default arguments to + TS_Clerk_Handler.cpp and Client_Logger_Handler.cpp to keep the + compiler from complaining about the new ACE_Connector features. + Thanks to David Levine for reporting this. * ace/Timer_Heap.cpp (reheap_down): Fixed a *very* subtle bug in reheap_down() where parent was starting off at 0 whereas it diff --git a/apps/Gateway/Gateway/Proxy_Handler.cpp b/apps/Gateway/Gateway/Proxy_Handler.cpp index 1a1d0717256..206a11b6c17 100644 --- a/apps/Gateway/Gateway/Proxy_Handler.cpp +++ b/apps/Gateway/Gateway/Proxy_Handler.cpp @@ -29,6 +29,10 @@ Proxy_Handler::total_bytes (size_t bytes) this->total_bytes_ += bytes; } +Proxy_Handler::Proxy_Handler (void) +{ +} + Proxy_Handler::Proxy_Handler (const Proxy_Config_Info &pci) : remote_addr_ (pci.remote_port_, pci.host_), local_addr_ (pci.local_port_), diff --git a/apps/Gateway/Gateway/Proxy_Handler.h b/apps/Gateway/Gateway/Proxy_Handler.h index e7e32a5d182..6e066b9bd7b 100644 --- a/apps/Gateway/Gateway/Proxy_Handler.h +++ b/apps/Gateway/Gateway/Proxy_Handler.h @@ -35,7 +35,11 @@ class Proxy_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_SYNCH> // Channel from Suppliers and forward them to Consumers. { public: + Proxy_Handler (void); + // Default constructor (needed to make <ACE_Connector> happy). + Proxy_Handler (const Proxy_Config_Info &); + // Real constructor. virtual int open (void * = 0); // Initialize and activate a single-threaded Proxy_Handler (called by diff --git a/examples/Connection/blocking/SPIPE-connector.h b/examples/Connection/blocking/SPIPE-connector.h index 8dd26a32e20..4776fc6bde2 100644 --- a/examples/Connection/blocking/SPIPE-connector.h +++ b/examples/Connection/blocking/SPIPE-connector.h @@ -14,7 +14,7 @@ class Peer_Handler : public ACE_Svc_Handler<ACE_SPIPE_STREAM, ACE_NULL_SYNCH> public: // = Initialization - Peer_Handler (int iterations); + Peer_Handler (int iterations = 0); // <iterations> is the number of buffers to send. If <iterations> // == 0, then read from stdin. diff --git a/examples/Connection/misc/test_upipe.cpp b/examples/Connection/misc/test_upipe.cpp index c4214c92df3..eb8ca0431b8 100644 --- a/examples/Connection/misc/test_upipe.cpp +++ b/examples/Connection/misc/test_upipe.cpp @@ -24,6 +24,7 @@ class Server_Service : public SVC_HANDLER { public: Server_Service (ACE_Thread_Manager * = 0) {} + virtual int open (void *) { ACE_TRACE ("Server_Service::open"); @@ -93,7 +94,7 @@ class Client_Service : public SVC_HANDLER // stdin and forward the data to its server. { public: - Client_Service (ACE_Thread_Manager *thr_mgr) + Client_Service (ACE_Thread_Manager *thr_mgr = 0) : SVC_HANDLER (thr_mgr) { ACE_TRACE ("Client_Service::Client_Service"); diff --git a/examples/Connection/non_blocking/CPP-connector.h b/examples/Connection/non_blocking/CPP-connector.h index c88027c34cb..f23f777fda9 100644 --- a/examples/Connection/non_blocking/CPP-connector.h +++ b/examples/Connection/non_blocking/CPP-connector.h @@ -11,7 +11,7 @@ template <ACE_PEER_STREAM_1> class Peer_Handler : public ACE_Svc_Handler<ACE_PEER_STREAM_2, ACE_SYNCH> { public: - Peer_Handler (ACE_Reactor *r); + Peer_Handler (ACE_Reactor *r = 0); virtual int open (void * = 0); // Activate the handler when connection is established. diff --git a/netsvcs/lib/TS_Clerk_Handler.cpp b/netsvcs/lib/TS_Clerk_Handler.cpp index 14260b06e4a..8632e28cc53 100644 --- a/netsvcs/lib/TS_Clerk_Handler.cpp +++ b/netsvcs/lib/TS_Clerk_Handler.cpp @@ -39,8 +39,8 @@ class ACE_Svc_Export ACE_TS_Clerk_Handler : public ACE_Svc_Handler<ACE_SOCK_STRE // passes the delta time by reference back to the Clerk Processor. { public: - ACE_TS_Clerk_Handler (ACE_TS_Clerk_Processor *processor, - ACE_INET_Addr &addr); + ACE_TS_Clerk_Handler (ACE_TS_Clerk_Processor *processor = 0, + ACE_INET_Addr &addr = (ACE_INET_Addr &) ACE_Addr::sap_any); // Default constructor. // = Set/get the current state |