diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Peer.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Peer.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Peer.h b/TAO/orbsvcs/orbsvcs/Notify/Peer.h index 142ef4484cf..3753ec2e596 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/Peer.h +++ b/TAO/orbsvcs/orbsvcs/Notify/Peer.h @@ -1,27 +1,26 @@ -// -*- 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 "orbsvcs/Notify/notify_serv_export.h" +#include "notify_serv_export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "orbsvcs/CosNotificationC.h" -#include "orbsvcs/Notify/EventTypeSeq.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL +#include "EventTypeSeq.h" class TAO_Notify_Proxy; class TAO_Notify_QoSProperties; @@ -48,6 +47,7 @@ public: CORBA::ULong _incr_refcnt (void); CORBA::ULong _decr_refcnt (void); + /// Shutdown the peer. virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL); @@ -66,20 +66,17 @@ public: void handle_dispatch_exception (ACE_ENV_SINGLE_ARG_DECL); /// Retrieve the ior of this peer - virtual ACE_CString get_ior (void) const = 0; + virtual bool get_ior (ACE_CString & iorstr) 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 */ |