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
00045 class TAO_Export TAO_Tagged_Profile
00046 {
00047 public:
00048
00049
00050
00051
00052 friend class TAO::CSD::FW_Server_Request_Wrapper;
00053
00054
00055 TAO_Tagged_Profile (TAO_ORB_Core *orb_core);
00056
00057
00058 CORBA::Boolean unmarshall_target_address (TAO_InputCDR &cdr);
00059
00060
00061 CORBA::Boolean unmarshall_object_key (TAO_InputCDR &cdr);
00062
00063
00064 TAO::ObjectKey &object_key (void);
00065
00066
00067 void object_key (TAO::ObjectKey &object_key);
00068
00069
00070 const TAO::ObjectKey &object_key (void) const;
00071
00072
00073 const IOP::TaggedProfile &tagged_profile (void) const;
00074
00075
00076
00077
00078 CORBA::ULong profile_index (void) const;
00079
00080
00081
00082 const char* type_id (void) const;
00083
00084 CORBA::Short discriminator (void) const;
00085
00086 private:
00087
00088
00089 CORBA::Boolean extract_object_key (IOP::TaggedProfile &profile);
00090
00091
00092 CORBA::Boolean unmarshall_object_key_i (TAO_InputCDR &cdr);
00093
00094
00095 CORBA::Boolean unmarshall_iop_profile_i (TAO_InputCDR &cdr);
00096
00097
00098 CORBA::Boolean unmarshall_ref_addr_i (TAO_InputCDR &cdr);
00099
00100 private:
00101
00102 TAO_ORB_Core *orb_core_;
00103
00104
00105 CORBA::Short discriminator_;
00106
00107
00108 CORBA::Boolean object_key_extracted_;
00109
00110
00111 TAO::ObjectKey object_key_;
00112
00113
00114 IOP::TaggedProfile profile_;
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
00140 CORBA::ULong profile_index_;
00141
00142
00143
00144 const char* type_id_;
00145 };
00146
00147 TAO_END_VERSIONED_NAMESPACE_DECL
00148
00149 #if defined (__ACE_INLINE__)
00150 # include "tao/Tagged_Profile.inl"
00151 #endif
00152
00153 #include "ace/post.h"
00154
00155 #endif