package Struct;
final public class MyStructHolder implements org.omg.CORBA.portable.Streamable {
public Struct.MyStruct value;
public MyStructHolder() {
}
public MyStructHolder(Struct.MyStruct value) {
this.value = value;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = MyStructHelper.read(input);
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
MyStructHelper.write(output, value);
}
public org.omg.CORBA.TypeCode _type() {
return MyStructHelper.type();
}
}
Die Quelle:
MyStructHolder.java