38 |
|
|
39 |
package org.omg.PortableInterceptor.ORBInitInfoPackage; |
package org.omg.PortableInterceptor.ORBInitInfoPackage; |
40 |
|
|
41 |
import gnu.CORBA.Restricted_ORB; |
import gnu.CORBA.OrbRestricted; |
42 |
|
|
43 |
import org.omg.CORBA.Any; |
import org.omg.CORBA.Any; |
44 |
import org.omg.CORBA.ORB; |
import org.omg.CORBA.ORB; |
81 |
*/ |
*/ |
82 |
public static TypeCode type() |
public static TypeCode type() |
83 |
{ |
{ |
84 |
ORB orb = Restricted_ORB.Singleton; |
ORB orb = OrbRestricted.Singleton; |
85 |
return orb.create_alias_tc(id(), "Object Id", orb.create_string_tc(0)); |
return orb.create_alias_tc(id(), "ObjectId", orb.create_string_tc(0)); |
86 |
} |
} |
87 |
|
|
88 |
/** |
/** |
97 |
/** |
/** |
98 |
* Calls {@link InputStream#read_string()}. |
* Calls {@link InputStream#read_string()}. |
99 |
* |
* |
100 |
* @param instream the stream to read from. |
* @param input the stream to read from. |
101 |
*/ |
*/ |
102 |
public static String read(InputStream input) |
public static String read(InputStream input) |
103 |
{ |
{ |
107 |
/** |
/** |
108 |
* Calls {@link OutputStream#write_string()}. |
* Calls {@link OutputStream#write_string()}. |
109 |
* |
* |
110 |
* @param ostream the stream to write into. |
* @param output the stream to write into. |
111 |
* @param value the string (Object Id) value to write. |
* @param value the string (Object Id) value to write. |
112 |
*/ |
*/ |
113 |
public static void write(OutputStream output, String value) |
public static void write(OutputStream output, String value) |