org.omg.IOP
Class IOR

java.lang.Object
  extended by org.omg.IOP.IOR
All Implemented Interfaces:
Serializable, IDLEntity

public final class IOR
extends Object
implements IDLEntity, Serializable

The object IOR contains sufficient information for finding local or remote CORBA object. It also contains additional data like the object native and supported char sets, URLs to download the required additional java classes and so on. IOR can define multiple alternative addresses for the same object or indicate that the object is equal to null.

The IOR is a standard structure, transferred when sending an object with OutputStream.write_Object(org.omg.CORBA.Object) and receiving with InputStream.read_Object(). The stringified object references, managed by ORB.string_to_object(java.lang.String) and ORB.object_to_string(org.omg.CORBA.Object) are also IORs, where the initially binary data are encoded as strings using hexadecimal notation.

The IOR is represented as the object repository id, followed by the sequence of the abstract profiles, each having the integer type identifier and the followed array of binary data. The empty sequence of profiles represents a null object, written, for instance, in response to the call of write_Object(null).

See Also:
Serialized Form

Field Summary
 TaggedProfile[] profiles
          The profiles, associated with this IOR reference.
 String type_id
          The object repository Id.
 
Constructor Summary
IOR()
          Create an unitialised instance of IOR profile.
IOR(String _type_id, TaggedProfile[] _profiles)
          Create the IOR, initialised with the passed data.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profiles

public TaggedProfile[] profiles
The profiles, associated with this IOR reference. The possible profiles are listed in TaggedProfile description.


type_id

public String type_id
The object repository Id.

Constructor Detail

IOR

public IOR()
Create an unitialised instance of IOR profile.


IOR

public IOR(String _type_id,
           TaggedProfile[] _profiles)
Create the IOR, initialised with the passed data.

Parameters:
_type_id - the repository id for this IOR object.
_profiles - the array of profiles for this IOR.