summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Peer.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Peer.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Peer.h b/TAO/orbsvcs/orbsvcs/Notify/Peer.h
index 3753ec2e596..142ef4484cf 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Peer.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/Peer.h
@@ -1,26 +1,27 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
+
/**
* @file Peer.h
*
* $Id$
*
* @author Pradeep Gore <pradeep@oomworks.com>
- *
- *
*/
#ifndef TAO_Notify_PEER_H
#define TAO_Notify_PEER_H
#include /**/ "ace/pre.h"
-#include "notify_serv_export.h"
+#include "orbsvcs/Notify/notify_serv_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/CosNotificationC.h"
-#include "EventTypeSeq.h"
+#include "orbsvcs/Notify/EventTypeSeq.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_Notify_Proxy;
class TAO_Notify_QoSProperties;
@@ -47,7 +48,6 @@ public:
CORBA::ULong _incr_refcnt (void);
CORBA::ULong _decr_refcnt (void);
-
/// Shutdown the peer.
virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL);
@@ -66,17 +66,20 @@ public:
void handle_dispatch_exception (ACE_ENV_SINGLE_ARG_DECL);
/// Retrieve the ior of this peer
- virtual bool get_ior (ACE_CString & iorstr) const = 0;
+ virtual ACE_CString get_ior (void) const = 0;
protected:
/// Implementation of Peer specific dispatch_updates
virtual void dispatch_updates_i (const CosNotification::EventTypeSeq& added,
const CosNotification::EventTypeSeq& removed
ACE_ENV_ARG_DECL) = 0;
+
private:
/// Release
virtual void release (void) = 0;
};
+TAO_END_VERSIONED_NAMESPACE_DECL
+
#include /**/ "ace/post.h"
#endif /* TAO_Notify_PEER_H */