summaryrefslogtreecommitdiff
path: root/TAO/tao/Acceptor_Registry.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-06-26 19:47:57 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-06-26 19:47:57 +0000
commit7a10139780f7eba35526a2ea7f82c02014a74c5d (patch)
treecc96bd89b85fb31a9520732c442def9760a089e0 /TAO/tao/Acceptor_Registry.h
parent650722067a96af124d9c36d19a9f5d3bc5eaa1d3 (diff)
downloadATCD-7a10139780f7eba35526a2ea7f82c02014a74c5d.tar.gz
ChangeLogTag:Mon Jun 26 12:44:40 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Acceptor_Registry.h')
-rw-r--r--TAO/tao/Acceptor_Registry.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/TAO/tao/Acceptor_Registry.h b/TAO/tao/Acceptor_Registry.h
index 39d1afdd682..54b0ab58303 100644
--- a/TAO/tao/Acceptor_Registry.h
+++ b/TAO/tao/Acceptor_Registry.h
@@ -14,6 +14,7 @@
//
// = AUTHOR
// Fred Kuhns <fredk@cs.wustl.edu>
+// Ossama Othman <ossama@uci.edu>
//
// ============================================================================
@@ -27,6 +28,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/SString.h"
#include "tao/corbafwd.h"
#include "tao/Resource_Factory.h"
@@ -83,21 +85,42 @@ public:
TAO_Acceptor *get_acceptor (CORBA::ULong tag);
// Return the acceptor bridges
-
+
// = Iterator.
TAO_AcceptorSetIterator begin (void);
TAO_AcceptorSetIterator end (void);
private:
+
int open_default (TAO_ORB_Core *orb_core,
const char *options);
// Create a default acceptor for all loaded protocols.
int open_default (TAO_ORB_Core *orb_core,
+ int major,
+ int minor,
TAO_ProtocolFactorySetItor &factory,
const char *options);
// Create a default acceptor using the specified protocol factory.
+ void extract_endpoint_options (ACE_CString &addrs,
+ ACE_CString &options,
+ TAO_Protocol_Factory *factory);
+ // Extract endpoint-specific options from the endpoint string.
+
+ void extract_endpoint_version (ACE_CString &address,
+ int &major,
+ int &minor);
+ // Extract endpoint/address specific version from the endpoint
+ // string.
+
+ int open_i (TAO_ORB_Core *orb_core,
+ ACE_CString &address,
+ TAO_ProtocolFactorySetItor &factory,
+ CORBA::Environment &ACE_TRY_ENV);
+ // Iterator through addrs in the string <iop>, and create an
+ // acceptor for each one.
+
private:
// The acceptor registry should not be copied.
ACE_UNIMPLEMENTED_FUNC (TAO_Acceptor_Registry (const TAO_Acceptor_Registry&))