#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. | |
virtual void | parse_string (const char *string ACE_ENV_ARG_DECL) |
virtual char | object_key_delimiter (void) const |
The object key delimiter. | |
virtual char * | to_string (ACE_ENV_SINGLE_ARG_DECL) |
virtual int | decode (TAO_InputCDR &cdr) |
Initialize this object using the given CDR octet string. | |
virtual int | encode (TAO_OutputCDR &stream) const |
Encode this profile in a stream, i.e. marshal it. | |
virtual int | encode_endpoints (void) |
virtual const TAO_ObjectKey & | object_key (void) const |
deprecated. return a reference to the Object Key. | |
virtual TAO_ObjectKey * | _key (void) const |
virtual TAO_Endpoint * | endpoint (void) |
virtual size_t | endpoint_count (void) |
Return how many endpoints this profile contains. | |
virtual CORBA::Boolean | is_equivalent (const TAO_Profile *other_profile) |
virtual CORBA::ULong | hash (CORBA::ULong max ACE_ENV_ARG_DECL) |
Return a hash value for this object. | |
virtual IOP::TaggedProfile & | create_tagged_profile (void) |
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! Implements 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. Implements TAO_Profile. |
|
Initialize this object using the given CDR octet string.
Implements TAO_Profile. |
|
Encode this profile in a stream, i.e. marshal it.
Implements 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. Implements 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. Implements TAO_Profile. |
|
Return how many endpoints this profile contains.
Implements TAO_Profile. |
|
Return a hash value for this object.
Implements 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. Implements TAO_Profile. |
|
deprecated. return a reference to the Object Key. @ Implements TAO_Profile. |
|
The object key delimiter.
Implements TAO_Profile. |
|
Initialize this object using the given input string. Supports URL style of object references Implements TAO_Profile. |
|
Return a string representation for this profile. client must deallocate memory. Implements TAO_Profile. |
|
|
|
|