diff options
Diffstat (limited to 'docs/tutorials/002')
-rw-r--r-- | docs/tutorials/002/combine.shar | 8 | ||||
-rw-r--r-- | docs/tutorials/002/handler.h | 2 | ||||
-rw-r--r-- | docs/tutorials/002/page01.html | 1 | ||||
-rw-r--r-- | docs/tutorials/002/page02.html | 9 | ||||
-rw-r--r-- | docs/tutorials/002/page03.html | 3 | ||||
-rw-r--r-- | docs/tutorials/002/page04.html | 1 | ||||
-rw-r--r-- | docs/tutorials/002/server.cpp | 2 |
7 files changed, 15 insertions, 11 deletions
diff --git a/docs/tutorials/002/combine.shar b/docs/tutorials/002/combine.shar index 498d2be4a46..e3f35577e91 100644 --- a/docs/tutorials/002/combine.shar +++ b/docs/tutorials/002/combine.shar @@ -3,8 +3,8 @@ # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # -# Made on 1999-01-17 14:20 EST by <jcej@chiroptera.tragus.org>. -# Source directory was `/var/home/jcej/projects/ACE_wrappers/docs/tutorials/002'. +# Made on 1999-09-21 22:48 EDT by <jcej@chiroptera.tragus.org>. +# Source directory was `/home/jcej/projects/ACE_wrappers/docs/tutorials/002'. # # Existing files will *not* be overwritten unless `-c' is specified. # @@ -63,7 +63,7 @@ else fi rm -f 1231235999 $$.touch # -if mkdir _sh00205; then +if mkdir _sh04705; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' @@ -324,5 +324,5 @@ SHAR_EOF $echo 'page04.pre:' 'original size' '448,' 'current size' "$shar_count!" fi fi -rm -fr _sh00205 +rm -fr _sh04705 exit 0 diff --git a/docs/tutorials/002/handler.h b/docs/tutorials/002/handler.h index 131e94b95e6..fc47b58640b 100644 --- a/docs/tutorials/002/handler.h +++ b/docs/tutorials/002/handler.h @@ -76,7 +76,7 @@ public: virtual void destroy (void) { /* Remove ourselves from the reactor */ - g_reactor->remove_handler + g_reactor->remove_handler (this, ACE_Event_Handler::READ_MASK | ACE_Event_Handler::DONT_CALL); diff --git a/docs/tutorials/002/page01.html b/docs/tutorials/002/page01.html index 280bb0de807..7cb4d386b7b 100644 --- a/docs/tutorials/002/page01.html +++ b/docs/tutorials/002/page01.html @@ -1,3 +1,4 @@ +<!-- $Id$ --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> diff --git a/docs/tutorials/002/page02.html b/docs/tutorials/002/page02.html index 3670c1851c2..ce7fa84eb39 100644 --- a/docs/tutorials/002/page02.html +++ b/docs/tutorials/002/page02.html @@ -1,3 +1,4 @@ +<!-- $Id$ --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> @@ -23,7 +24,7 @@ going to simplify the acceptor a great deal. <P> Kirthika's Abstract: <UL> -This is a server example made simpler due to the use of off-the-shelf +This is a server example made simpler due to the use of off-the-shelf components and classes from ACE. <P> Here, the Logging_Acceptor is an ACE_Acceptor class which is associated @@ -47,10 +48,10 @@ underlying data stream passed to it. <P> A timer is scheduled in the reactor which does nothing but simply display how it could be used to provide periodic processing when -needed. The ACE_TimeValue is used to set the time period. +needed. The ACE_TimeValue is used to set the time period. <P> Also, optimisations have been made in the form of a separate function -for +for destroying the objects used. <P> Thus a simpler server has now been built which successfully @@ -85,7 +86,7 @@ typedef ACE_Acceptor <Logging_Handler, ACE_SOCK_ACCEPTOR> Logging_Acceptor; <font color=red>/* One of the new things will be a signal handler so that we can exit the application somewhat cleanly. The 'finished' flag is used instead of the previous infninite loop and the 'handler' will set - that flag in respose to SIGINT (CTRL-C). + that flag in respose to SIGINT (CTRL-C). The invocation of <font color=#008888>ACE_Reactor::notify</font>() will cause the handle_events() to return so that we can see the new value of 'finished'. */</font> diff --git a/docs/tutorials/002/page03.html b/docs/tutorials/002/page03.html index f06a3e5463f..a9c9959a7e5 100644 --- a/docs/tutorials/002/page03.html +++ b/docs/tutorials/002/page03.html @@ -1,3 +1,4 @@ +<!-- $Id$ --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> @@ -99,7 +100,7 @@ public: virtual void destroy (void) { <font color=red>/* Remove ourselves from the reactor */</font> - g_reactor->remove_handler + g_reactor->remove_handler (this, <font color=#008888>ACE_Event_Handler::READ_MASK</font> | ACE_Event_Handler::DONT_CALL); diff --git a/docs/tutorials/002/page04.html b/docs/tutorials/002/page04.html index 15a58015b48..0ed1165ef53 100644 --- a/docs/tutorials/002/page04.html +++ b/docs/tutorials/002/page04.html @@ -1,3 +1,4 @@ +<!-- $Id$ --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> diff --git a/docs/tutorials/002/server.cpp b/docs/tutorials/002/server.cpp index 3066427c9cd..cfef3aa1a59 100644 --- a/docs/tutorials/002/server.cpp +++ b/docs/tutorials/002/server.cpp @@ -21,7 +21,7 @@ typedef ACE_Acceptor <Logging_Handler, ACE_SOCK_ACCEPTOR> Logging_Acceptor; /* One of the new things will be a signal handler so that we can exit the application somewhat cleanly. The 'finished' flag is used instead of the previous infninite loop and the 'handler' will set - that flag in respose to SIGINT (CTRL-C). + that flag in respose to SIGINT (CTRL-C). The invocation of ACE_Reactor::notify() will cause the handle_events() to return so that we can see the new value of 'finished'. */ |