summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-02-24 01:51:49 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-02-24 01:51:49 +0000
commit202eeb8778104e0bc8a4096948e1e14057da2938 (patch)
tree52d8fecef6a57f208211f5eb39299acfae41492a
parent6bb5bb15c128662a7dad27ac3580433a4064eb9c (diff)
downloadATCD-202eeb8778104e0bc8a4096948e1e14057da2938.tar.gz
*** empty log message ***
-rw-r--r--ChangeLog-98a6
-rw-r--r--ace/Asynch_Acceptor.h7
-rw-r--r--ace/Asynch_Acceptor.i6
3 files changed, 16 insertions, 3 deletions
diff --git a/ChangeLog-98a b/ChangeLog-98a
index a18a8d158a1..f9cd9785a31 100644
--- a/ChangeLog-98a
+++ b/ChangeLog-98a
@@ -1,3 +1,9 @@
+Mon Feb 23 19:41:53 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
+
+ * ace/Asynch_Acceptor.i (bytes_to_read): Added an inline accessor
+ for the bytes_to_read_ field. Thanks to Jason Katz
+ <Jason@email.rts-inc.com> for suggesting this.
+
Mon Feb 23 12:26:06 1998 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (sched_params): removed ACE_ADAPT_RETVAL from PTHREADS
diff --git a/ace/Asynch_Acceptor.h b/ace/Asynch_Acceptor.h
index 03f7ab4d9bd..cb72456f8fb 100644
--- a/ace/Asynch_Acceptor.h
+++ b/ace/Asynch_Acceptor.h
@@ -93,18 +93,21 @@ protected:
// Subclasses must overwrite this method if a new handler creation
// strategy is required.
+ int bytes_to_read (void) const;
+ // Bytes to be read with the <accept> call.
+
private:
ACE_HANDLE listen_handle_;
// Handle used to listen for new connections.
ACE_Asynch_Accept asynch_accept_;
- // Asynch_Accept used to make life easier :-)
+ // <Asynch_Accept> used to make life easier :-)
int pass_addresses_;
// Flag that indicates if parsing of addresses is necessary.
int bytes_to_read_;
- // Bytes to be read with the accept call.
+ // Bytes to be read with the <accept> call.
};
#if defined (__ACE_INLINE__)
diff --git a/ace/Asynch_Acceptor.i b/ace/Asynch_Acceptor.i
index 37d47eeeddb..cb8f26a878e 100644
--- a/ace/Asynch_Acceptor.i
+++ b/ace/Asynch_Acceptor.i
@@ -3,4 +3,8 @@
// Asynch_Acceptor.i
-
+ACE_INLINE int
+bytes_to_read (void) const
+{
+ return this->bytes_to_read_;
+}