summaryrefslogtreecommitdiff
path: root/ace/Name_Proxy.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-30 06:50:29 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-30 06:50:29 +0000
commita4a7690c336d4c8a16b3041c86d501ba38226e96 (patch)
tree9e9f93a98edd2591453f092d178ad29a1c5fb519 /ace/Name_Proxy.h
parenta5c4d8047ab58df5c45092e18ae503ad40518f0e (diff)
downloadATCD-unlabeled-4.1.2.tar.gz
This commit was manufactured by cvs2svn to create branchunlabeled-4.1.2
'unlabeled-4.1.2'.
Diffstat (limited to 'ace/Name_Proxy.h')
-rw-r--r--ace/Name_Proxy.h82
1 files changed, 0 insertions, 82 deletions
diff --git a/ace/Name_Proxy.h b/ace/Name_Proxy.h
deleted file mode 100644
index f99fff09d9d..00000000000
--- a/ace/Name_Proxy.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-
-// ============================================================================
-//
-// = LIBRARY
-// ACE
-//
-// = FILENAME
-// ACE_Name_Proxy.h
-//
-// = DESCRIPTION
-// Proxy for dealing with remote server process managing NET_LOCAL
-// Name_Bindings.
-//
-// = AUTHOR
-// Gerhard Lenzer, Douglas C. Schmidt, and Prashant Jain
-//
-// ============================================================================
-
-#if !defined (ACE_NAME_PROXY_H)
-#define ACE_NAME_PROXY_H
-
-#include "ace/INET_Addr.h"
-#include "ace/SOCK_Connector.h"
-#include "ace/SOCK_Stream.h"
-#include "ace/Service_Config.h"
-#include "ace/Synch_Options.h"
-#include "ace/Name_Request_Reply.h"
-
-class ACE_Export ACE_Name_Proxy : public ACE_Event_Handler
- // = TITLE
- // Proxy for dealing with remote server process managing NET_LOCAL NameBindings
- //
- // = DESCRIPTION
- // Shields applications from details of interacting with the ACE_Name Server.
-{
-public:
- ACE_Name_Proxy (void);
- // Default constructor.
-
- // = Establish a binding with the ACE_Name Server.
- ACE_Name_Proxy (const ACE_INET_Addr &remote_addr, // Address of ACE_Name Server.
- ACE_Synch_Options& options =
- ACE_Synch_Options::defaults);
-
- int open (const ACE_INET_Addr &remote_addr, // Address of ACE_Name Server.
- ACE_Synch_Options& options =
- ACE_Synch_Options::defaults);
-
- int request_reply (ACE_Name_Request &request);
- // Perform the request and wait for the reply.
-
- int send_request (ACE_Name_Request &request);
- // Perform the request.
-
- int recv_reply (ACE_Name_Request &reply);
- // Receive the reply.
-
- virtual ACE_HANDLE get_handle (void) const;
- // Obtain underlying handle.
-
- virtual ~ACE_Name_Proxy (void);
- // Close down the connection to the server.
-
- void dump (void) const;
- // Dump the state of the object;
-
-private:
-
- ACE_SOCK_Connector connector_;
- // ACE_Connector factory used to establish connections actively.
-
- ACE_SOCK_Stream peer_;
- // Connection to ACE_Name Server peer.
-
- ACE_Reactor *reactor_;
- // Pointer to ACE_Reactor (used if we are run in "reactive-mode").
-};
-
-#endif /* ACE_NAME_PROXY_H */