#include <Profile.h>
Inheritance diagram for TAO_Unknown_Profile:
Public Methods | |
TAO_Unknown_Profile (CORBA::ULong tag, TAO_ORB_Core *orb_core) | |
Create the profile. More... | |
virtual void | parse_string (const char *string ACE_ENV_ARG_DECL) |
Initialize this object using the given input string. Supports URL style of object references. More... | |
virtual char | object_key_delimiter (void) const |
The object key delimiter. More... | |
virtual char * | to_string (ACE_ENV_SINGLE_ARG_DECL) |
Return a string representation for this profile. client must deallocate memory. More... | |
virtual int | decode (TAO_InputCDR &cdr) |
Initialize this object using the given CDR octet string. More... | |
virtual int | encode (TAO_OutputCDR &stream) const |
Encode this profile in a stream, i.e. marshal it. More... | |
virtual int | encode_endpoints (void) |
Encodes this profile's endpoints into a tagged component. More... | |
virtual const TAO_ObjectKey & | object_key (void) const |
deprecated. return a reference to the Object Key. More... | |
virtual TAO_ObjectKey * | _key (void) const |
Obtain the object key, return 0 if the profile cannot be parsed. The memory is owned by the caller! More... | |
virtual TAO_Endpoint * | endpoint (void) |
Return pointer to this profile's endpoint. More... | |
virtual size_t | endpoint_count (void) |
Return how many endpoints this profile contains. More... | |
virtual CORBA::Boolean | is_equivalent (const TAO_Profile *other_profile) |
Return true if this profile is equivalent to other_profile. More... | |
virtual CORBA::ULong | hash (CORBA::ULong max ACE_ENV_ARG_DECL) |
Return a hash value for this object. More... | |
virtual IOP::TaggedProfile & | create_tagged_profile (void) |
This method is used to get the IOP::TaggedProfile. More... | |
Private Attributes | |
TAO_opaque | body_ |
IOP::TaggedProfile | tagged_profile_ |
The CORBA spec implies that ORBs must be prepared to save and pass around profiles for protocols it does not recognize. It is not mandatory to *use* those profiles but they shouldn't be dropped. This class stores the information required to marshal and demarshal an unknown profile, but simply returns an error if any of the TAO internal methods are invoked.
|
Create the profile.
|
|
Obtain the object key, return 0 if the profile cannot be parsed. The memory is owned by the caller!
Reimplemented from TAO_Profile. |
|
This method is used to get the IOP::TaggedProfile. The profile information that is received from the server side would have already been decoded. So this method will just make a IOP::TaggedProfile struct from the existing information and return the reference to that. This method is necessary for GIOP 1.2. Reimplemented from TAO_Profile. |
|
Initialize this object using the given CDR octet string.
Reimplemented from TAO_Profile. |
|
Encode this profile in a stream, i.e. marshal it.
Reimplemented from TAO_Profile. |
|
Encodes this profile's endpoints into a tagged component. This is done only if RTCORBA is enabled, since currently this is the only case when we have more than one endpoint per profile. Reimplemented from TAO_Profile. |
|
Return pointer to this profile's endpoint. If the profile contains more than one endpoint, i.e., a list, the method returns the head of the list. Reimplemented from TAO_Profile. |
|
Return how many endpoints this profile contains.
Reimplemented from TAO_Profile. |
|
Return a hash value for this object.
Reimplemented from TAO_Profile. |
|
Return true if this profile is equivalent to other_profile. Two profiles are equivalent iff their tag, object_key, version and all endpoints are the same. Reimplemented from TAO_Profile. |
|
deprecated. return a reference to the Object Key. @ Reimplemented from TAO_Profile. |
|
The object key delimiter.
Reimplemented from TAO_Profile. |
|
Initialize this object using the given input string. Supports URL style of object references.
Reimplemented from TAO_Profile. |
|
Return a string representation for this profile. client must deallocate memory.
Reimplemented from TAO_Profile. |
|
|
|
|