diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-02-03 05:35:38 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-02-03 05:35:38 +0000 |
commit | 9697de305f9eadbbb9f014cd138d39a1d34ab10b (patch) | |
tree | 7f6a1056d7ed9283c9ad58446d987f28dd781727 /TAO/tao/Service_Context.h | |
parent | f451d3fba6fc55b2f5d7eb1073dacbb83bbfa793 (diff) | |
download | ATCD-9697de305f9eadbbb9f014cd138d39a1d34ab10b.tar.gz |
ChangeLogTag:Sat Feb 2 21:33:43 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Service_Context.h')
-rw-r--r-- | TAO/tao/Service_Context.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/tao/Service_Context.h b/TAO/tao/Service_Context.h index be7814e2045..e08c85f178f 100644 --- a/TAO/tao/Service_Context.h +++ b/TAO/tao/Service_Context.h @@ -85,6 +85,14 @@ public: /// 0 if the component is not present. int get_context (IOP::ServiceId id, const IOP::ServiceContext **context) const; + /// Get a copy of the Service Context corresponding to the given + /// ServiceId. The caller owns the returned Service Context. + /** + * @return 0 If a Service Context with the given ServiceId doesn't + * exist. + */ + int get_context (IOP::ServiceId id, IOP::ServiceContext_out context); + /// Set the context from the CDR stream and add that to the service /// Context list void set_context (IOP::ServiceId id, TAO_OutputCDR &cdr); |