2005/5/9

     
 

class ObjectKey

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdkx::orb::ObjectKey Class Reference

#include <ObjectKey.h>

Inheritance diagram for acdkx::orb::ObjectKey:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

ObjectKey wrappes the CORBA acdk::lang::Object Indentity.


Public Member Functions

 ObjectKey ()
 ObjectKey (ServerDelegate *impl)
 server side implementation

 ObjectKey (IN(RString) str)
 client side

 ObjectKey (::org::omg::CORBA::GIOP::MessageHeader &messageHeader,::org::omg::CORBA::GIOP::RequestHeader &requestHeader)
RString toString ()
 return a string representation of this object Object::toString() return getName() by default

acdk::lang::Object getLocalObject ()
bool isLocal ()
bool isNil ()
 returns true if the underlying reference is Nil

RString object_to_string ()
void fromObjectKey ()
 set information from allready set object_key

void toObjectKey ()
 write information from information into object_key

void fromInterIOPData (sequence< octet > &profile_data)
void fromIOR ()
 set information from already readed IOR

void toIOR ()
 write information from information into IOR

org::omg::CORBA::IOP::IORgetIOR ()
RbyteArray objectId ()

Static Public Member Functions

RObjectKey string_to_object (IN(RString) str)
RString classNameFromRepId (IN(RString) str)
void registerRepId (const acdk::lang::dmi::ClazzInfo *ci, const char *name, short major, short minor)

Public Attributes

org::omg::CORBA::GIOP::Version version
 Holds GIOP / IIOP Version.

org::omg::CORBA::IOP::IOR ior
bool ior_inited
RString type_id
 the CORBA type id.

RbyteArray object_key
 the CORBA stringified object reference.

RString protokoll
RString network
int port
int pid
 proces id, which serves this object.

ServerDelegatelocalObject
 in case is local object.

bool _isLocal
 This instance is a local object localObject can be addressed.

bool _isAcdkObject
 acdk::lang::Object is a ACDK object and understand DMI DII.

SkelInfoClassesStruct_skel
 in case it has a ProxhyClass


Constructor & Destructor Documentation

acdkx::orb::ObjectKey::ObjectKey  )  [inline]
 

acdkx::orb::ObjectKey::ObjectKey ServerDelegate impl  ) 
 

server side implementation

acdkx::orb::ObjectKey::ObjectKey IN(RString str  ) 
 

client side

acdkx::orb::ObjectKey::ObjectKey ::org::omg::CORBA::GIOP::MessageHeader messageHeader,
::org::omg::CORBA::GIOP::RequestHeader requestHeader
 


Member Function Documentation

RString acdkx::orb::ObjectKey::classNameFromRepId IN(RString str  )  [static]
 

void acdkx::orb::ObjectKey::fromInterIOPData sequence< octet > &  profile_data  ) 
 

void acdkx::orb::ObjectKey::fromIOR  ) 
 

set information from already readed IOR

void acdkx::orb::ObjectKey::fromObjectKey  ) 
 

set information from allready set object_key

org::omg::CORBA::IOP::IOR& acdkx::orb::ObjectKey::getIOR  )  [inline]
 

acdk::lang::Object acdkx::orb::ObjectKey::getLocalObject  ) 
 

bool acdkx::orb::ObjectKey::isLocal  )  [inline]
 

bool acdkx::orb::ObjectKey::isNil  ) 
 

returns true if the underlying reference is Nil

RString acdkx::orb::ObjectKey::object_to_string  ) 
 

RbyteArray acdkx::orb::ObjectKey::objectId  )  [inline]
 

void acdkx::orb::ObjectKey::registerRepId const acdk::lang::dmi::ClazzInfo ci,
const char *  name,
short  major,
short  minor
[static]
 

RObjectKey acdkx::orb::ObjectKey::string_to_object IN(RString str  )  [static]
 

void acdkx::orb::ObjectKey::toIOR  ) 
 

write information from information into IOR

void acdkx::orb::ObjectKey::toObjectKey  ) 
 

write information from information into object_key

RString acdkx::orb::ObjectKey::toString  )  [inline, virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.


Member Data Documentation

bool acdkx::orb::ObjectKey::_isAcdkObject
 

acdk::lang::Object is a ACDK object and understand DMI DII.

bool acdkx::orb::ObjectKey::_isLocal
 

This instance is a local object localObject can be addressed.

SkelInfoClassesStruct* acdkx::orb::ObjectKey::_skel
 

in case it has a ProxhyClass

org::omg::CORBA::IOP::IOR acdkx::orb::ObjectKey::ior
 

bool acdkx::orb::ObjectKey::ior_inited
 

ServerDelegate* acdkx::orb::ObjectKey::localObject
 

in case is local object.

The instance will be hold by outer ServerDelegate

RString acdkx::orb::ObjectKey::network
 

RbyteArray acdkx::orb::ObjectKey::object_key
 

the CORBA stringified object reference.

Nil if not set

int acdkx::orb::ObjectKey::pid
 

proces id, which serves this object.

-1 if not set

int acdkx::orb::ObjectKey::port
 

RString acdkx::orb::ObjectKey::protokoll
 

RString acdkx::orb::ObjectKey::type_id
 

the CORBA type id.

Nil if not set

org::omg::CORBA::GIOP::Version acdkx::orb::ObjectKey::version
 

Holds GIOP / IIOP Version.