38 |
|
|
39 |
package org.omg.CORBA; |
package org.omg.CORBA; |
40 |
|
|
41 |
|
import gnu.CORBA.ServiceDetailHolder; |
42 |
|
|
43 |
import org.omg.CORBA.portable.InputStream; |
import org.omg.CORBA.portable.InputStream; |
44 |
import org.omg.CORBA.portable.OutputStream; |
import org.omg.CORBA.portable.OutputStream; |
|
import gnu.CORBA.*; |
|
45 |
|
|
46 |
/** |
/** |
47 |
* The helper operations on the Service Detail. |
* The helper operations on the Service Detail. |
141 |
|
|
142 |
TypeCode type = |
TypeCode type = |
143 |
orb.create_alias_tc(_id, "ServiceDetailType", |
orb.create_alias_tc(_id, "ServiceDetailType", |
144 |
orb.get_primitive_tc(TCKind.tk_ulong) |
orb.get_primitive_tc(TCKind.tk_ulong) |
145 |
); |
); |
146 |
members [ 0 ] = new StructMember("service_detail_type", type, null); |
members [ 0 ] = new StructMember("service_detail_type", type, null); |
147 |
|
|
148 |
TypeCode data = |
TypeCode data = |
167 |
ostream.write_ulong(value.service_detail_type); |
ostream.write_ulong(value.service_detail_type); |
168 |
ostream.write_long(value.service_detail.length); |
ostream.write_long(value.service_detail.length); |
169 |
ostream.write_octet_array(value.service_detail, 0, |
ostream.write_octet_array(value.service_detail, 0, |
170 |
value.service_detail.length |
value.service_detail.length |
171 |
); |
); |
172 |
} |
} |
173 |
} |
} |