summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-16 21:04:25 +0000
committersumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-16 21:04:25 +0000
commitc9833f1d4958b9fe371be91446c0960210c100eb (patch)
tree58399ec4f2346d6da56a8b2310ad39337dad7e89
parent219a59af5f09b0844c0a0f45c74f85b806eafaad (diff)
downloadATCD-c9833f1d4958b9fe371be91446c0960210c100eb.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.h b/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.h
index 65a8ab86150..0a03ed053ab 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.h
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/server.h
@@ -40,17 +40,18 @@
class Mpeg_Svc_Handler;
-class Mpeg_Acceptor : public ACE_Acceptor <Mpeg_Svc_Handler, ACE_SOCK_ACCEPTOR>
+class Mpeg_Acceptor
+ : public virtual ACE_Acceptor <Mpeg_Svc_Handler,
+ ACE_SOCK_ACCEPTOR>
{
public:
virtual int make_svc_handler (Mpeg_Svc_Handler *&sh);
// Initialize the <Mpeg_Svc_Handler>.
};
-// typedef ACE_Acceptor <Mpeg_Svc_Handler, ACE_SOCK_ACCEPTOR> Mpeg_Acceptor;
-
class Mpeg_Svc_Handler
- : public virtual ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
+ : public virtual ACE_Svc_Handler <ACE_SOCK_STREAM,
+ ACE_NULL_SYNCH>
{
// @@ Naga, please make sure to document all these classes with the =TITLE/=DESCRIPTION stuff!
public:
@@ -59,8 +60,10 @@ public:
Mpeg_Acceptor * = 0);
virtual int open (void *);
- // Perform the work of the SVC_HANDLER.
+ // Perform the work of the SVC_HANDLER. Called by the acceptor
+ // when a new connection shows up
+ // %% rename this to int handle_connection (void); ??
virtual int handle_input (ACE_HANDLE = ACE_INVALID_HANDLE);
// Handle one client connection.