summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-26 03:35:24 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-26 03:35:24 +0000
commitcd0c517f1c391a749d613eb8d2482b3d7329a5c3 (patch)
tree247abc3bd374f1a0f0b9f29310f4a915215f3e57 /TAO/tao/ORB_Core.h
parenteea2ae80be10fbb85aefaaac7df98a825bf57b02 (diff)
downloadATCD-cd0c517f1c391a749d613eb8d2482b3d7329a5c3.tar.gz
ChangeLogTag:Wed Aug 25 22:31:34 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/ORB_Core.h')
-rw-r--r--TAO/tao/ORB_Core.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h
index e6baea7a3ff..d48dc56b0bb 100644
--- a/TAO/tao/ORB_Core.h
+++ b/TAO/tao/ORB_Core.h
@@ -438,6 +438,13 @@ public:
// Condition variable used in the Leader Follower Wait Strategy, on
// which the follower thread blocks.
+ TAO_Stub *create_stub_object (const TAO_ObjectKey &key,
+ const char *type_id,
+ CORBA_Environment &ACE_TRY_ENV =
+ TAO_default_environment ());
+ // Makes sure that the ORB is open and then creates a TAO_Stub
+ // based on the endpoint.
+
protected:
int set_iiop_endpoint (int dotted_decimal_addresses,
CORBA::UShort port,
@@ -467,6 +474,11 @@ protected:
// pre-fetched TSS resources, this minimizes the number of calls to
// them.
+ int open (void);
+ // Set up the ORB Core's acceptor to listen on the
+ // previously-specified port for requests. Returns -1 on failure,
+ // else 0.
+
protected:
ACE_SYNCH_MUTEX lock_;
// Synchronize internal state...
@@ -595,6 +607,13 @@ protected:
int thread_per_connection_use_timeout_;
ACE_Time_Value thread_per_connection_timeout_;
// The value of the timeout if the flag above is not zero
+
+ ACE_SYNCH_MUTEX open_lock_;
+ // Mutual exclusion for calling open.
+
+ int open_called_;
+ // Flag which denotes that the open method was called.
+
};
// ****************************************************************