package Struct;
abstract public class _StructExampleImplBase extends org.omg.CORBA.portable.Skeleton implements Struct.StructExample {
protected _StructExampleImplBase(java.lang.String name) {
super(name);
}
protected _StructExampleImplBase() {
}
public java.lang.String[] _ids() {
return __ids;
}
private static java.lang.String[] __ids = {
"IDL:Struct/StructExample:1.0"
};
public org.omg.CORBA.portable.MethodPointer[] _methods() {
org.omg.CORBA.portable.MethodPointer[] methods = {
new org.omg.CORBA.portable.MethodPointer("_set_s", 0, 0),
new org.omg.CORBA.portable.MethodPointer("_get_s", 0, 1),
};
return methods;
}
public boolean _execute(org.omg.CORBA.portable.MethodPointer method, org.omg.CORBA.portable.InputStream input, org.omg.CORBA.portable.OutputStream output) {
switch(method.interface_id) {
case 0: {
return Struct._StructExampleImplBase._execute(this, method.method_id, input, output);
}
}
throw new org.omg.CORBA.MARSHAL();
}
public static boolean _execute(Struct.StructExample _self, int _method_id, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.OutputStream _output) {
switch(_method_id) {
case 0: {
Struct.MyStruct s;
s = Struct.MyStructHelper.read(_input);
_self.s(s);
return false;
}
case 1: {
Struct.MyStruct _result = _self.s();
Struct.MyStructHelper.write(_output, _result);
return false;
}
}
throw new org.omg.CORBA.MARSHAL();
}
}
Die Quelle:
_StructExampleImplBase.java