summaryrefslogtreecommitdiff
path: root/ace/Svc_Handler.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-05-30 05:20:49 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-05-30 05:20:49 +0000
commit3ac4626fae18864dbe5afd34ebc0b9eea6cc051c (patch)
treee6db44760fae5659903f190e023dddd6cf2e8d71 /ace/Svc_Handler.h
parenteb737150d70219b117148928daa94a675ce93c38 (diff)
downloadATCD-3ac4626fae18864dbe5afd34ebc0b9eea6cc051c.tar.gz
Wed May 29 22:20:19 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Svc_Handler.h')
-rw-r--r--ace/Svc_Handler.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/ace/Svc_Handler.h b/ace/Svc_Handler.h
index cf3e84c3760..56a107212ab 100644
--- a/ace/Svc_Handler.h
+++ b/ace/Svc_Handler.h
@@ -1,4 +1,4 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
//=============================================================================
/**
@@ -6,13 +6,14 @@
*
* $Id$
*
- * @author Douglas Schmidt <schmidt@cs.wustl.edu> and
- * Irfan Pyrarli <irfan@cs.wustl.edu>
+ * @author Douglas Schmidt <schmidt@uci.edu>
+ * @author Irfan Pyarali <irfan@cs.wustl.edu>
*/
//=============================================================================
#ifndef ACE_SVC_HANDLER_H
#define ACE_SVC_HANDLER_H
+
#include "ace/pre.h"
// Forward decls.
@@ -48,7 +49,11 @@ template <ACE_PEER_STREAM_1, ACE_SYNCH_DECL>
class ACE_Svc_Handler : public ACE_Task<ACE_SYNCH_USE>
{
public:
- // = Initialization and termination methods.
+
+ // Useful STL-style traits.
+ typedef ACE_PEER_STREAM_ADDR addr_type;
+ typedef ACE_PEER_STREAM stream_type;
+
/**
* Constructor initializes the <thr_mgr> and <mq> by passing them
* down to the <ACE_Task> base class. The <reactor> is passed to
@@ -324,4 +329,5 @@ protected:
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
#include "ace/post.h"
+
#endif /* ACE_SVC_HANDLER_H */