Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_TAGGED_PROFILE_H
00014 #define TAO_TAGGED_PROFILE_H
00015
00016 #include "ace/pre.h"
00017
00018 #include "tao/IOPC.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "tao/Object_KeyC.h"
00025 #include "tao/Versioned_Namespace.h"
00026 #include "ace/SString.h"
00027
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029
00030 namespace TAO
00031 {
00032 namespace CSD
00033 {
00034 class FW_Server_Request_Wrapper;
00035 }
00036 }
00037
00038
00039
00040
00041
00042
00043
00044 class TAO_Export TAO_Tagged_Profile
00045 {
00046 public:
00047
00048
00049
00050
00051 friend class TAO::CSD::FW_Server_Request_Wrapper;
00052
00053
00054 TAO_Tagged_Profile (TAO_ORB_Core *orb_core);
00055
00056
00057 CORBA::Boolean unmarshall_target_address (TAO_InputCDR &cdr);
00058
00059
00060 CORBA::Boolean unmarshall_object_key (TAO_InputCDR &cdr);
00061
00062
00063 TAO::ObjectKey &object_key (void);
00064
00065
00066 void object_key (TAO::ObjectKey &object_key);
00067
00068
00069 const TAO::ObjectKey &object_key (void) const;
00070
00071
00072 const IOP::TaggedProfile &tagged_profile (void) const;
00073
00074
00075
00076
00077 CORBA::ULong profile_index (void) const;
00078
00079
00080
00081 const char* type_id (void) const;
00082
00083 CORBA::Short discriminator (void) const;
00084
00085 private:
00086
00087
00088 CORBA::Boolean extract_object_key (IOP::TaggedProfile &profile);
00089
00090
00091 CORBA::Boolean unmarshall_object_key_i (TAO_InputCDR &cdr);
00092
00093
00094 CORBA::Boolean unmarshall_iop_profile_i (TAO_InputCDR &cdr);
00095
00096
00097 CORBA::Boolean unmarshall_ref_addr_i (TAO_InputCDR &cdr);
00098
00099 private:
00100
00101 TAO_ORB_Core *orb_core_;
00102
00103
00104 CORBA::Short discriminator_;
00105
00106
00107 CORBA::Boolean object_key_extracted_;
00108
00109
00110 TAO::ObjectKey object_key_;
00111
00112
00113 IOP::TaggedProfile profile_;
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139 CORBA::ULong profile_index_;
00140
00141
00142
00143 const char* type_id_;
00144 };
00145
00146 TAO_END_VERSIONED_NAMESPACE_DECL
00147
00148 #if defined (__ACE_INLINE__)
00149 # include "tao/Tagged_Profile.inl"
00150 #endif
00151
00152 #include "ace/post.h"
00153
00154 #endif