Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.omg.IOP
Class IOR  view IOR download IOR.java

java.lang.Object
  extended byorg.omg.IOP.IOR
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public final class IOR
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity, java.io.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)>OutputStream.write_Object(org.omg.CORBA.Object) 55 and receiving with InputStream.read_Object()>InputStream.read_Object() 55 . The stringified object references, managed by ORB.string_to_object(java.lang.String)>ORB.string_to_object(java.lang.String) 55 and ORB.object_to_string(org.omg.CORBA.Object)>ORB.object_to_string(org.omg.CORBA.Object) 55 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).


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

Field Detail

serialVersionUID

private static final long serialVersionUID
Use serialVersionUID (v1.4) for interoperability.

See Also:
Constant Field Values

profiles

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


type_id

public java.lang.String type_id
The object repository Id.

Constructor Detail

IOR

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


IOR

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