index int64 0 0 | repo_id stringlengths 9 205 | file_path stringlengths 31 246 | content stringlengths 1 12.2M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterAdminHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterAdmin:1.0
//
final public class RouterAdminHolder implements org.omg.CORBA.portable.Streamable
{
public RouterAdmin value;
public
RouterAdminHolder()
{
}
public
RouterAdminHolder(RouterAdmin initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RouterAdminHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RouterAdminHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RouterAdminHelper.type();
}
}
| 4,200 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestInfoSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestInfoSeq:1.0
//
final public class RequestInfoSeqHolder implements org.omg.CORBA.portable.Streamable
{
public RequestInfo[] value;
public
RequestInfoSeqHolder()
{
}
public
RequestInfoSeqHolder(RequestInfo[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RequestInfoSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RequestInfoSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RequestInfoSeqHelper.type();
}
}
| 4,201 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/DecayPolicyHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/DecayPolicy:1.0
//
final public class DecayPolicyHolder implements org.omg.CORBA.portable.Streamable
{
public DecayPolicy value;
public
DecayPolicyHolder()
{
}
public
DecayPolicyHolder(DecayPolicy initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DecayPolicyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DecayPolicyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DecayPolicyHelper.type();
}
}
| 4,202 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/LimitedPingHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/LimitedPing:1.0
//
final public class LimitedPingHelper
{
public static void
insert(org.omg.CORBA.Any any, LimitedPing val)
{
any.insert_Value(val, type());
}
public static LimitedPing
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof LimitedPing)
return (LimitedPing)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[1];
members[0] = new org.omg.CORBA.ValueMember();
members[0].name = "interval_limit";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[0].access = org.omg.CORBA.PUBLIC_MEMBER.value;
org.omg.CORBA.TypeCode baseType = UnlimitedPingHelper.type();
typeCode_ = orb.create_value_tc(id(), "LimitedPing", org.omg.CORBA.VM_NONE.value, baseType, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/LimitedPing:1.0";
}
public static LimitedPing
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (LimitedPing)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LimitedPing val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,203 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/SUSPENDED.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/SUSPENDED:1.0
//
/***/
public interface SUSPENDED
{
short value = (short)(2L);
}
| 4,204 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterPOA.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/Router:1.0
//
public abstract class RouterPOA
extends org.omg.PortableServer.Servant
implements org.omg.CORBA.portable.InvokeHandler,
RouterOperations
{
static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/Router:1.0",
};
public Router
_this()
{
return RouterHelper.narrow(super._this_object());
}
public Router
_this(org.omg.CORBA.ORB orb)
{
return RouterHelper.narrow(super._this_object(orb));
}
public String[]
_all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
{
return _ob_ids_;
}
public org.omg.CORBA.portable.OutputStream
_invoke(String opName,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
final String[] _ob_names =
{
"_get_admin",
"send_multiple_requests",
"send_request"
};
int _ob_left = 0;
int _ob_right = _ob_names.length;
int _ob_index = -1;
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(opName);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
if(_ob_index == -1 && opName.charAt(0) == '_')
{
_ob_left = 0;
_ob_right = _ob_names.length;
String _ob_ami_op =
opName.substring(1);
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(_ob_ami_op);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
}
switch(_ob_index)
{
case 0: // _get_admin
return _OB_att_get_admin(in, handler);
case 1: // send_multiple_requests
return _OB_op_send_multiple_requests(in, handler);
case 2: // send_request
return _OB_op_send_request(in, handler);
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private org.omg.CORBA.portable.OutputStream
_OB_att_get_admin(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
RouterAdmin _ob_r = admin();
org.omg.CORBA.portable.OutputStream out = handler.createReply();
RouterAdminHelper.write(out, _ob_r);
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_send_multiple_requests(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
RequestInfo[] _ob_a0 = RequestInfoSeqHelper.read(in);
send_multiple_requests(_ob_a0);
out = handler.createReply();
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_send_request(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
RequestInfo _ob_a0 = RequestInfoHelper.read(in);
send_request(_ob_a0);
out = handler.createReply();
return out;
}
}
| 4,205 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ImmediateSuspend.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ImmediateSuspend:1.0
//
/***/
public abstract class ImmediateSuspend extends RetryPolicy
{
private static String[] _OB_truncatableIds_ =
{
ImmediateSuspendHelper.id()
};
public String[]
_truncatable_ids()
{
return _OB_truncatableIds_;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
super._read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
super._write(out);
}
public org.omg.CORBA.TypeCode
_type()
{
return ImmediateSuspendHelper.type();
}
}
| 4,206 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/DecayPolicyHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/DecayPolicy:1.0
//
final public class DecayPolicyHelper
{
public static void
insert(org.omg.CORBA.Any any, DecayPolicy val)
{
any.insert_Value(val, type());
}
public static DecayPolicy
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof DecayPolicy)
return (DecayPolicy)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[1];
members[0] = new org.omg.CORBA.ValueMember();
members[0].name = "decay_seconds";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[0].access = org.omg.CORBA.PUBLIC_MEMBER.value;
typeCode_ = orb.create_value_tc(id(), "DecayPolicy", org.omg.CORBA.VM_NONE.value, null, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/DecayPolicy:1.0";
}
public static DecayPolicy
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (DecayPolicy)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DecayPolicy val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,207 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/LimitedPingHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/LimitedPing:1.0
//
final public class LimitedPingHolder implements org.omg.CORBA.portable.Streamable
{
public LimitedPing value;
public
LimitedPingHolder()
{
}
public
LimitedPingHolder(LimitedPing initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = LimitedPingHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
LimitedPingHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return LimitedPingHelper.type();
}
}
| 4,208 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/DecayPolicy.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/DecayPolicy:1.0
//
/***/
public abstract class DecayPolicy implements org.omg.CORBA.portable.StreamableValue,
org.omg.CORBA.PolicyOperations
{
//
// IDL:omg.org/MessageRouting/DecayPolicy/decay_seconds:1.0
//
/***/
public int decay_seconds;
private static String[] _OB_truncatableIds_ =
{
DecayPolicyHelper.id()
};
public String[]
_truncatable_ids()
{
return _OB_truncatableIds_;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
decay_seconds = in.read_ulong();
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
out.write_ulong(decay_seconds);
}
public org.omg.CORBA.TypeCode
_type()
{
return DecayPolicyHelper.type();
}
}
| 4,209 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestInfoSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestInfoSeq:1.0
//
final public class RequestInfoSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, RequestInfo[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static RequestInfo[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "RequestInfoSeq", orb.create_sequence_tc(0, RequestInfoHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RequestInfoSeq:1.0";
}
public static RequestInfo[]
read(org.omg.CORBA.portable.InputStream in)
{
RequestInfo[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new RequestInfo[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = RequestInfoHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RequestInfo[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
RequestInfoHelper.write(out, val[i0]);
}
}
| 4,210 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UntypedReplyHandler.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0
//
/***/
public interface UntypedReplyHandler extends UntypedReplyHandlerOperations,
org.omg.Messaging.ReplyHandler,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,211 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/TAG_MESSAGE_ROUTERS.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/TAG_MESSAGE_ROUTERS:1.0
//
/***/
public interface TAG_MESSAGE_ROUTERS
{
int value = (int)(30L);
}
| 4,212 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/Router:1.0
//
final public class RouterHolder implements org.omg.CORBA.portable.Streamable
{
public Router value;
public
RouterHolder()
{
}
public
RouterHolder(Router initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RouterHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RouterHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RouterHelper.type();
}
}
| 4,213 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestInfo.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestInfo:1.0
//
/***/
final public class RequestInfo implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/MessageRouting/RequestInfo:1.0";
public
RequestInfo()
{
}
public
RequestInfo(Router[] visited,
Router[] to_visit,
org.omg.CORBA.Object target,
short profile_index,
ReplyDestination reply_destination,
org.omg.Messaging.PolicyValue[] selected_qos,
RequestMessage payload)
{
this.visited = visited;
this.to_visit = to_visit;
this.target = target;
this.profile_index = profile_index;
this.reply_destination = reply_destination;
this.selected_qos = selected_qos;
this.payload = payload;
}
public Router[] visited;
public Router[] to_visit;
public org.omg.CORBA.Object target;
public short profile_index;
public ReplyDestination reply_destination;
public org.omg.Messaging.PolicyValue[] selected_qos;
public RequestMessage payload;
}
| 4,214 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestMessageHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestMessage:1.0
//
final public class RequestMessageHolder implements org.omg.CORBA.portable.Streamable
{
public RequestMessage value;
public
RequestMessageHolder()
{
}
public
RequestMessageHolder(RequestMessage initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RequestMessageHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RequestMessageHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RequestMessageHelper.type();
}
}
| 4,215 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestRouterPOA.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0
//
public abstract class PersistentRequestRouterPOA
extends org.omg.PortableServer.Servant
implements org.omg.CORBA.portable.InvokeHandler,
PersistentRequestRouterOperations
{
static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0",
};
public PersistentRequestRouter
_this()
{
return PersistentRequestRouterHelper.narrow(super._this_object());
}
public PersistentRequestRouter
_this(org.omg.CORBA.ORB orb)
{
return PersistentRequestRouterHelper.narrow(super._this_object(orb));
}
public String[]
_all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
{
return _ob_ids_;
}
public org.omg.CORBA.portable.OutputStream
_invoke(String opName,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
final String[] _ob_names =
{
"create_persistent_request"
};
int _ob_left = 0;
int _ob_right = _ob_names.length;
int _ob_index = -1;
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(opName);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
if(_ob_index == -1 && opName.charAt(0) == '_')
{
_ob_left = 0;
_ob_right = _ob_names.length;
String _ob_ami_op =
opName.substring(1);
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(_ob_ami_op);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
}
switch(_ob_index)
{
case 0: // create_persistent_request
return _OB_op_create_persistent_request(in, handler);
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private org.omg.CORBA.portable.OutputStream
_OB_op_create_persistent_request(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
short _ob_a0 = in.read_ushort();
Router[] _ob_a1 = RouterListHelper.read(in);
org.omg.CORBA.Object _ob_a2 = in.read_Object();
org.omg.CORBA.Policy[] _ob_a3 = org.omg.CORBA.PolicyListHelper.read(in);
RequestMessage _ob_a4 = RequestMessageHelper.read(in);
PersistentRequest _ob_r = create_persistent_request(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
out = handler.createReply();
PersistentRequestHelper.write(out, _ob_r);
return out;
}
}
| 4,216 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyDispositionHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyDisposition:1.0
//
final public class ReplyDispositionHelper
{
public static void
insert(org.omg.CORBA.Any any, ReplyDisposition val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ReplyDisposition
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[2];
members[0] = "TYPED";
members[1] = "UNTYPED";
typeCode_ = orb.create_enum_tc(id(), "ReplyDisposition", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/ReplyDisposition:1.0";
}
public static ReplyDisposition
read(org.omg.CORBA.portable.InputStream in)
{
ReplyDisposition _ob_v;
_ob_v = ReplyDisposition.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ReplyDisposition val)
{
out.write_ulong(val.value());
}
}
| 4,217 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ImmediateSuspendHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ImmediateSuspend:1.0
//
final public class ImmediateSuspendHolder implements org.omg.CORBA.portable.Streamable
{
public ImmediateSuspend value;
public
ImmediateSuspendHolder()
{
}
public
ImmediateSuspendHolder(ImmediateSuspend initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ImmediateSuspendHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ImmediateSuspendHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ImmediateSuspendHelper.type();
}
}
| 4,218 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestRouterOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0
//
/***/
public interface PersistentRequestRouterOperations
{
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter/create_persistent_request:1.0
//
/***/
PersistentRequest
create_persistent_request(short profile_index,
Router[] to_visit,
org.omg.CORBA.Object target,
org.omg.CORBA.Policy[] current_qos,
RequestMessage payload);
}
| 4,219 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyDispositionHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyDisposition:1.0
//
final public class ReplyDispositionHolder implements org.omg.CORBA.portable.Streamable
{
public ReplyDisposition value;
public
ReplyDispositionHolder()
{
}
public
ReplyDispositionHolder(ReplyDisposition initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ReplyDispositionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ReplyDispositionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ReplyDispositionHelper.type();
}
}
| 4,220 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ImmediateSuspendHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ImmediateSuspend:1.0
//
final public class ImmediateSuspendHelper
{
public static void
insert(org.omg.CORBA.Any any, ImmediateSuspend val)
{
any.insert_Value(val, type());
}
public static ImmediateSuspend
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof ImmediateSuspend)
return (ImmediateSuspend)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0];
org.omg.CORBA.TypeCode baseType = RetryPolicyHelper.type();
typeCode_ = orb.create_value_tc(id(), "ImmediateSuspend", org.omg.CORBA.VM_NONE.value, baseType, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/ImmediateSuspend:1.0";
}
public static ImmediateSuspend
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (ImmediateSuspend)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ImmediateSuspend val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,221 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/Router:1.0
//
final public class RouterHelper
{
public static void
insert(org.omg.CORBA.Any any, Router val)
{
any.insert_Object(val, type());
}
public static Router
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "Router");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/Router:1.0";
}
public static Router
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (Router)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_RouterStub _ob_stub = new _RouterStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Router val)
{
out.write_Object(val);
}
public static Router
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Router)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_RouterStub _ob_stub = new _RouterStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static Router
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Router)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_RouterStub _ob_stub = new _RouterStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,222 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestMessageHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestMessage:1.0
//
final public class RequestMessageHelper
{
public static void
insert(org.omg.CORBA.Any any, RequestMessage val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static RequestMessage
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[7];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "giop_version";
members[0].type = org.omg.GIOP.VersionHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "service_contexts";
members[1].type = org.omg.IOP.ServiceContextListHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "response_flags";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "reserved";
members[3].type = orb.create_array_tc(3, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "object_key";
members[4].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "operation";
members[5].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[6] = new org.omg.CORBA.StructMember();
members[6].name = "body";
members[6].type = MessageBodyHelper.type();
typeCode_ = orb.create_struct_tc(id(), "RequestMessage", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RequestMessage:1.0";
}
public static RequestMessage
read(org.omg.CORBA.portable.InputStream in)
{
RequestMessage _ob_v = new RequestMessage();
_ob_v.giop_version = org.omg.GIOP.VersionHelper.read(in);
_ob_v.service_contexts = org.omg.IOP.ServiceContextListHelper.read(in);
_ob_v.response_flags = in.read_octet();
int len0 = 3;
_ob_v.reserved = new byte[len0];
in.read_octet_array(_ob_v.reserved, 0, len0);
int len1 = in.read_ulong();
_ob_v.object_key = new byte[len1];
in.read_octet_array(_ob_v.object_key, 0, len1);
_ob_v.operation = in.read_string();
_ob_v.body = MessageBodyHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RequestMessage val)
{
org.omg.GIOP.VersionHelper.write(out, val.giop_version);
org.omg.IOP.ServiceContextListHelper.write(out, val.service_contexts);
out.write_octet(val.response_flags);
int len0 = val.reserved.length;
if(len0 != 3)
throw new org.omg.CORBA.MARSHAL();
out.write_octet_array(val.reserved, 0, len0);
int len1 = val.object_key.length;
out.write_ulong(len1);
out.write_octet_array(val.object_key, 0, len1);
out.write_string(val.operation);
MessageBodyHelper.write(out, val.body);
}
}
| 4,223 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/IMMEDIATE_SUSPEND_POLICY_TYPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/IMMEDIATE_SUSPEND_POLICY_TYPE:1.0
//
/***/
public interface IMMEDIATE_SUSPEND_POLICY_TYPE
{
int value = (int)(50L);
}
| 4,224 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestRouterHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0
//
final public class PersistentRequestRouterHelper
{
public static void
insert(org.omg.CORBA.Any any, PersistentRequestRouter val)
{
any.insert_Object(val, type());
}
public static PersistentRequestRouter
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "PersistentRequestRouter");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0";
}
public static PersistentRequestRouter
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (PersistentRequestRouter)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_PersistentRequestRouterStub _ob_stub = new _PersistentRequestRouterStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, PersistentRequestRouter val)
{
out.write_Object(val);
}
public static PersistentRequestRouter
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (PersistentRequestRouter)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_PersistentRequestRouterStub _ob_stub = new _PersistentRequestRouterStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static PersistentRequestRouter
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (PersistentRequestRouter)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_PersistentRequestRouterStub _ob_stub = new _PersistentRequestRouterStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,225 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ACTIVE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ACTIVE:1.0
//
/***/
public interface ACTIVE
{
short value = (short)(1L);
}
| 4,226 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterAdminPOA.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterAdmin:1.0
//
public abstract class RouterAdminPOA
extends org.omg.PortableServer.Servant
implements org.omg.CORBA.portable.InvokeHandler,
RouterAdminOperations
{
static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/RouterAdmin:1.0",
};
public RouterAdmin
_this()
{
return RouterAdminHelper.narrow(super._this_object());
}
public RouterAdmin
_this(org.omg.CORBA.ORB orb)
{
return RouterAdminHelper.narrow(super._this_object(orb));
}
public String[]
_all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
{
return _ob_ids_;
}
public org.omg.CORBA.portable.OutputStream
_invoke(String opName,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
final String[] _ob_names =
{
"register_destination",
"resume_destination",
"suspend_destination",
"unregister_destination"
};
int _ob_left = 0;
int _ob_right = _ob_names.length;
int _ob_index = -1;
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(opName);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
if(_ob_index == -1 && opName.charAt(0) == '_')
{
_ob_left = 0;
_ob_right = _ob_names.length;
String _ob_ami_op =
opName.substring(1);
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(_ob_ami_op);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
}
switch(_ob_index)
{
case 0: // register_destination
return _OB_op_register_destination(in, handler);
case 1: // resume_destination
return _OB_op_resume_destination(in, handler);
case 2: // suspend_destination
return _OB_op_suspend_destination(in, handler);
case 3: // unregister_destination
return _OB_op_unregister_destination(in, handler);
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private org.omg.CORBA.portable.OutputStream
_OB_op_register_destination(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.Object _ob_a0 = in.read_Object();
boolean _ob_a1 = in.read_boolean();
RetryPolicy _ob_a2 = RetryPolicyHelper.read(in);
DecayPolicy _ob_a3 = DecayPolicyHelper.read(in);
register_destination(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
out = handler.createReply();
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_resume_destination(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
try
{
org.omg.CORBA.Object _ob_a0 = in.read_Object();
resume_destination(_ob_a0);
out = handler.createReply();
}
catch(InvalidState _ob_ex)
{
out = handler.createExceptionReply();
InvalidStateHelper.write(out, _ob_ex);
}
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_suspend_destination(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
try
{
org.omg.CORBA.Object _ob_a0 = in.read_Object();
ResumePolicy _ob_a1 = ResumePolicyHelper.read(in);
suspend_destination(_ob_a0, _ob_a1);
out = handler.createReply();
}
catch(InvalidState _ob_ex)
{
out = handler.createExceptionReply();
InvalidStateHelper.write(out, _ob_ex);
}
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_unregister_destination(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
try
{
org.omg.CORBA.Object _ob_a0 = in.read_Object();
unregister_destination(_ob_a0);
out = handler.createReply();
}
catch(InvalidState _ob_ex)
{
out = handler.createExceptionReply();
InvalidStateHelper.write(out, _ob_ex);
}
return out;
}
}
| 4,227 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/_RouterAdminStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterAdmin:1.0
//
public class _RouterAdminStub extends org.omg.CORBA.portable.ObjectImpl
implements RouterAdmin
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/RouterAdmin:1.0",
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = RouterAdminOperations.class;
//
// IDL:omg.org/MessageRouting/RouterAdmin/register_destination:1.0
//
public void
register_destination(org.omg.CORBA.Object _ob_a0,
boolean _ob_a1,
RetryPolicy _ob_a2,
DecayPolicy _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("register_destination", true);
out.write_Object(_ob_a0);
out.write_boolean(_ob_a1);
RetryPolicyHelper.write(out, _ob_a2);
DecayPolicyHelper.write(out, _ob_a3);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("register_destination", _ob_opsClass);
if(_ob_so == null)
continue;
RouterAdminOperations _ob_self = (RouterAdminOperations)_ob_so.servant;
try
{
org.omg.CORBA.portable.OutputStream _ob_out = _orb().create_output_stream();
RetryPolicyHelper.write(_ob_out, _ob_a2);
DecayPolicyHelper.write(_ob_out, _ob_a3);
org.omg.CORBA.portable.InputStream _ob_in = _ob_out.create_input_stream();
_ob_a2 = RetryPolicyHelper.read(_ob_in);
_ob_a3 = DecayPolicyHelper.read(_ob_in);
_ob_self.register_destination(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/RouterAdmin/suspend_destination:1.0
//
public void
suspend_destination(org.omg.CORBA.Object _ob_a0,
ResumePolicy _ob_a1)
throws InvalidState
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("suspend_destination", true);
out.write_Object(_ob_a0);
ResumePolicyHelper.write(out, _ob_a1);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
if(_ob_id.equals(InvalidStateHelper.id()))
throw InvalidStateHelper.read(in);
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("suspend_destination", _ob_opsClass);
if(_ob_so == null)
continue;
RouterAdminOperations _ob_self = (RouterAdminOperations)_ob_so.servant;
try
{
org.omg.CORBA.portable.OutputStream _ob_out = _orb().create_output_stream();
ResumePolicyHelper.write(_ob_out, _ob_a1);
org.omg.CORBA.portable.InputStream _ob_in = _ob_out.create_input_stream();
_ob_a1 = ResumePolicyHelper.read(_ob_in);
_ob_self.suspend_destination(_ob_a0, _ob_a1);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/RouterAdmin/resume_destination:1.0
//
public void
resume_destination(org.omg.CORBA.Object _ob_a0)
throws InvalidState
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("resume_destination", true);
out.write_Object(_ob_a0);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
if(_ob_id.equals(InvalidStateHelper.id()))
throw InvalidStateHelper.read(in);
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("resume_destination", _ob_opsClass);
if(_ob_so == null)
continue;
RouterAdminOperations _ob_self = (RouterAdminOperations)_ob_so.servant;
try
{
_ob_self.resume_destination(_ob_a0);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/RouterAdmin/unregister_destination:1.0
//
public void
unregister_destination(org.omg.CORBA.Object _ob_a0)
throws InvalidState
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("unregister_destination", true);
out.write_Object(_ob_a0);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
if(_ob_id.equals(InvalidStateHelper.id()))
throw InvalidStateHelper.read(in);
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("unregister_destination", _ob_opsClass);
if(_ob_so == null)
continue;
RouterAdminOperations _ob_self = (RouterAdminOperations)_ob_so.servant;
try
{
_ob_self.unregister_destination(_ob_a0);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,228 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RegistrationStateHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RegistrationState:1.0
//
final public class RegistrationStateHelper
{
public static void
insert(org.omg.CORBA.Any any, short val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static short
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "RegistrationState", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RegistrationState:1.0";
}
public static short
read(org.omg.CORBA.portable.InputStream in)
{
short _ob_v;
_ob_v = in.read_short();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, short val)
{
out.write_short(val);
}
}
| 4,229 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/MessageBody.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/MessageBody:1.0
//
/***/
final public class MessageBody implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/MessageRouting/MessageBody:1.0";
public
MessageBody()
{
}
public
MessageBody(byte[] body,
boolean byte_order)
{
this.body = body;
this.byte_order = byte_order;
}
public byte[] body;
public boolean byte_order;
}
| 4,230 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/DECAY_POLICY_TYPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/DECAY_POLICY_TYPE:1.0
//
/***/
public interface DECAY_POLICY_TYPE
{
int value = (int)(53L);
}
| 4,231 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestRouterHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0
//
final public class PersistentRequestRouterHolder implements org.omg.CORBA.portable.Streamable
{
public PersistentRequestRouter value;
public
PersistentRequestRouterHolder()
{
}
public
PersistentRequestRouterHolder(PersistentRequestRouter initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PersistentRequestRouterHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PersistentRequestRouterHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PersistentRequestRouterHelper.type();
}
}
| 4,232 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UnlimitedPing.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// **********************************************************************
// Version: 4.3.1
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UnlimitedPing:1.0
//
/***/
public abstract class UnlimitedPing extends RetryPolicy
{
//
// IDL:omg.org/MessageRouting/UnlimitedPing/max_backoffs:1.0
//
/***/
public short max_backoffs;
//
// IDL:omg.org/MessageRouting/UnlimitedPing/backoff_factor:1.0
//
/***/
public float backoff_factor;
//
// IDL:omg.org/MessageRouting/UnlimitedPing/base_interval_seconds:1.0
//
/***/
public int base_interval_seconds;
private static String[] _OB_truncatableIds_ =
{
UnlimitedPingHelper.id()
};
public String[]
_truncatable_ids()
{
return _OB_truncatableIds_;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
super._read(in);
max_backoffs = in.read_short();
backoff_factor = in.read_float();
base_interval_seconds = in.read_ulong();
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
super._write(out);
out.write_short(max_backoffs);
out.write_float(backoff_factor);
out.write_ulong(base_interval_seconds);
}
public org.omg.CORBA.TypeCode
_type()
{
return UnlimitedPingHelper.type();
}
}
| 4,233 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/LIMITED_PING_POLICY_TYPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/LIMITED_PING_POLICY_TYPE:1.0
//
/***/
public interface LIMITED_PING_POLICY_TYPE
{
int value = (int)(52L);
}
| 4,234 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/_UntypedReplyHandlerStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0
//
public class _UntypedReplyHandlerStub extends org.omg.CORBA.portable.ObjectImpl
implements UntypedReplyHandler
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0",
"IDL:omg.org/Messaging/ReplyHandler:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = UntypedReplyHandlerOperations.class;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler/reply:1.0
//
public void
reply(String _ob_a0,
org.omg.GIOP.ReplyStatusType_1_2 _ob_a1,
MessageBody _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("reply", true);
out.write_string(_ob_a0);
org.omg.GIOP.ReplyStatusType_1_2Helper.write(out, _ob_a1);
MessageBodyHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("reply", _ob_opsClass);
if(_ob_so == null)
continue;
UntypedReplyHandlerOperations _ob_self = (UntypedReplyHandlerOperations)_ob_so.servant;
try
{
_ob_self.reply(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,235 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyNotAvailableHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyNotAvailable:1.0
//
final public class ReplyNotAvailableHelper
{
public static void
insert(org.omg.CORBA.Any any, ReplyNotAvailable val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ReplyNotAvailable
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[0];
typeCode_ = orb.create_exception_tc(id(), "ReplyNotAvailable", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/ReplyNotAvailable:1.0";
}
public static ReplyNotAvailable
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
ReplyNotAvailable _ob_v = new ReplyNotAvailable();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ReplyNotAvailable val)
{
out.write_string(id());
}
}
| 4,236 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UntypedReplyHandlerOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0
//
/***/
public interface UntypedReplyHandlerOperations extends org.omg.Messaging.ReplyHandlerOperations
{
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler/reply:1.0
//
/***/
void
reply(String operation_name,
org.omg.GIOP.ReplyStatusType_1_2 reply_type,
MessageBody reply_body);
}
| 4,237 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/_RouterStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/Router:1.0
//
public class _RouterStub extends org.omg.CORBA.portable.ObjectImpl
implements Router
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/Router:1.0",
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = RouterOperations.class;
//
// IDL:omg.org/MessageRouting/Router/admin:1.0
//
public RouterAdmin
admin()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_admin", true);
in = _invoke(out);
RouterAdmin _ob_r = RouterAdminHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("admin", _ob_opsClass);
if(_ob_so == null)
continue;
RouterOperations _ob_self = (RouterOperations)_ob_so.servant;
try
{
return _ob_self.admin();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/Router/send_request:1.0
//
public void
send_request(RequestInfo _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("send_request", true);
RequestInfoHelper.write(out, _ob_a0);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("send_request", _ob_opsClass);
if(_ob_so == null)
continue;
RouterOperations _ob_self = (RouterOperations)_ob_so.servant;
try
{
_ob_self.send_request(_ob_a0);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/Router/send_multiple_requests:1.0
//
public void
send_multiple_requests(RequestInfo[] _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("send_multiple_requests", true);
RequestInfoSeqHelper.write(out, _ob_a0);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("send_multiple_requests", _ob_opsClass);
if(_ob_so == null)
continue;
RouterOperations _ob_self = (RouterOperations)_ob_so.servant;
try
{
_ob_self.send_multiple_requests(_ob_a0);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,238 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/_PersistentRequestStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequest:1.0
//
public class _PersistentRequestStub extends org.omg.CORBA.portable.ObjectImpl
implements PersistentRequest
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/PersistentRequest:1.0",
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = PersistentRequestOperations.class;
//
// IDL:omg.org/MessageRouting/PersistentRequest/reply_available:1.0
//
public boolean
reply_available()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_reply_available", true);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("reply_available", _ob_opsClass);
if(_ob_so == null)
continue;
PersistentRequestOperations _ob_self = (PersistentRequestOperations)_ob_so.servant;
try
{
return _ob_self.reply_available();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/PersistentRequest/associated_handler:1.0
//
public org.omg.Messaging.ReplyHandler
associated_handler()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_associated_handler", true);
in = _invoke(out);
org.omg.Messaging.ReplyHandler _ob_r = org.omg.Messaging.ReplyHandlerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("associated_handler", _ob_opsClass);
if(_ob_so == null)
continue;
PersistentRequestOperations _ob_self = (PersistentRequestOperations)_ob_so.servant;
try
{
return _ob_self.associated_handler();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
associated_handler(org.omg.Messaging.ReplyHandler _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_associated_handler", true);
org.omg.Messaging.ReplyHandlerHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("associated_handler", _ob_opsClass);
if(_ob_so == null)
continue;
PersistentRequestOperations _ob_self = (PersistentRequestOperations)_ob_so.servant;
try
{
_ob_self.associated_handler(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/MessageRouting/PersistentRequest/get_reply:1.0
//
public org.omg.GIOP.ReplyStatusType_1_2
get_reply(boolean _ob_a0,
int _ob_a1,
MessageBodyHolder _ob_ah2)
throws ReplyNotAvailable
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("get_reply", true);
out.write_boolean(_ob_a0);
out.write_ulong(_ob_a1);
in = _invoke(out);
org.omg.GIOP.ReplyStatusType_1_2 _ob_r = org.omg.GIOP.ReplyStatusType_1_2Helper.read(in);
_ob_ah2.value = MessageBodyHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
if(_ob_id.equals(ReplyNotAvailableHelper.id()))
throw ReplyNotAvailableHelper.read(in);
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("get_reply", _ob_opsClass);
if(_ob_so == null)
continue;
PersistentRequestOperations _ob_self = (PersistentRequestOperations)_ob_so.servant;
try
{
return _ob_self.get_reply(_ob_a0, _ob_a1, _ob_ah2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,239 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyNotAvailableHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyNotAvailable:1.0
//
final public class ReplyNotAvailableHolder implements org.omg.CORBA.portable.Streamable
{
public ReplyNotAvailable value;
public
ReplyNotAvailableHolder()
{
}
public
ReplyNotAvailableHolder(ReplyNotAvailable initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ReplyNotAvailableHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ReplyNotAvailableHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ReplyNotAvailableHelper.type();
}
}
| 4,240 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyDestination.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyDestination:1.0
//
/***/
final public class ReplyDestination implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/MessageRouting/ReplyDestination:1.0";
public
ReplyDestination()
{
}
public
ReplyDestination(ReplyDisposition handler_type,
org.omg.Messaging.ReplyHandler handler)
{
this.handler_type = handler_type;
this.handler = handler;
}
public ReplyDisposition handler_type;
public org.omg.Messaging.ReplyHandler handler;
}
| 4,241 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RESUME_POLICY_TYPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RESUME_POLICY_TYPE:1.0
//
/***/
public interface RESUME_POLICY_TYPE
{
int value = (int)(54L);
}
| 4,242 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ResumePolicy.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ResumePolicy:1.0
//
/***/
public abstract class ResumePolicy implements org.omg.CORBA.portable.StreamableValue,
org.omg.CORBA.PolicyOperations
{
//
// IDL:omg.org/MessageRouting/ResumePolicy/resume_seconds:1.0
//
/***/
public int resume_seconds;
private static String[] _OB_truncatableIds_ =
{
ResumePolicyHelper.id()
};
public String[]
_truncatable_ids()
{
return _OB_truncatableIds_;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
resume_seconds = in.read_ulong();
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
out.write_ulong(resume_seconds);
}
public org.omg.CORBA.TypeCode
_type()
{
return ResumePolicyHelper.type();
}
}
| 4,243 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/UtcTHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/UtcT:1.0
//
final public class UtcTHolder implements org.omg.CORBA.portable.Streamable
{
public UtcT value;
public
UtcTHolder()
{
}
public
UtcTHolder(UtcT initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = UtcTHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
UtcTHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return UtcTHelper.type();
}
}
| 4,244 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/UtcTHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/UtcT:1.0
//
final public class UtcTHelper
{
public static void
insert(org.omg.CORBA.Any any, UtcT val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static UtcT
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[4];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "time";
members[0].type = TimeTHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "inacclo";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "inacchi";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "tdf";
members[3].type = TdfTHelper.type();
typeCode_ = orb.create_struct_tc(id(), "UtcT", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/TimeBase/UtcT:1.0";
}
public static UtcT
read(org.omg.CORBA.portable.InputStream in)
{
UtcT _ob_v = new UtcT();
_ob_v.time = TimeTHelper.read(in);
_ob_v.inacclo = in.read_ulong();
_ob_v.inacchi = in.read_ushort();
_ob_v.tdf = TdfTHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, UtcT val)
{
TimeTHelper.write(out, val.time);
out.write_ulong(val.inacclo);
out.write_ushort(val.inacchi);
TdfTHelper.write(out, val.tdf);
}
}
| 4,245 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/TdfTHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/TdfT:1.0
//
final public class TdfTHelper
{
public static void
insert(org.omg.CORBA.Any any, short val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static short
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "TdfT", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/TimeBase/TdfT:1.0";
}
public static short
read(org.omg.CORBA.portable.InputStream in)
{
short _ob_v;
_ob_v = in.read_short();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, short val)
{
out.write_short(val);
}
}
| 4,246 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/InaccuracyTHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/InaccuracyT:1.0
//
final public class InaccuracyTHelper
{
public static void
insert(org.omg.CORBA.Any any, long val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static long
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "InaccuracyT", TimeTHelper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/TimeBase/InaccuracyT:1.0";
}
public static long
read(org.omg.CORBA.portable.InputStream in)
{
long _ob_v;
_ob_v = TimeTHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, long val)
{
TimeTHelper.write(out, val);
}
}
| 4,247 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/TimeTHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/TimeT:1.0
//
final public class TimeTHelper
{
public static void
insert(org.omg.CORBA.Any any, long val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static long
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "TimeT", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulonglong));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/TimeBase/TimeT:1.0";
}
public static long
read(org.omg.CORBA.portable.InputStream in)
{
long _ob_v;
_ob_v = in.read_ulonglong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, long val)
{
out.write_ulonglong(val);
}
}
| 4,248 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/IntervalTHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/IntervalT:1.0
//
final public class IntervalTHelper
{
public static void
insert(org.omg.CORBA.Any any, IntervalT val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static IntervalT
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "lower_bound";
members[0].type = TimeTHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "upper_bound";
members[1].type = TimeTHelper.type();
typeCode_ = orb.create_struct_tc(id(), "IntervalT", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/TimeBase/IntervalT:1.0";
}
public static IntervalT
read(org.omg.CORBA.portable.InputStream in)
{
IntervalT _ob_v = new IntervalT();
_ob_v.lower_bound = TimeTHelper.read(in);
_ob_v.upper_bound = TimeTHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, IntervalT val)
{
TimeTHelper.write(out, val.lower_bound);
TimeTHelper.write(out, val.upper_bound);
}
}
| 4,249 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/IntervalTHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/IntervalT:1.0
//
final public class IntervalTHolder implements org.omg.CORBA.portable.Streamable
{
public IntervalT value;
public
IntervalTHolder()
{
}
public
IntervalTHolder(IntervalT initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = IntervalTHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
IntervalTHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return IntervalTHelper.type();
}
}
| 4,250 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/UtcT.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/UtcT:1.0
//
/***/
final public class UtcT implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/TimeBase/UtcT:1.0";
public
UtcT()
{
}
public
UtcT(long time,
int inacclo,
short inacchi,
short tdf)
{
this.time = time;
this.inacclo = inacclo;
this.inacchi = inacchi;
this.tdf = tdf;
}
public long time;
public int inacclo;
public short inacchi;
public short tdf;
}
| 4,251 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/TimeBase/IntervalT.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.TimeBase;
//
// IDL:omg.org/TimeBase/IntervalT:1.0
//
/***/
final public class IntervalT implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/TimeBase/IntervalT:1.0";
public
IntervalT()
{
}
public
IntervalT(long lower_bound,
long upper_bound)
{
this.lower_bound = lower_bound;
this.upper_bound = upper_bound;
}
public long lower_bound;
public long upper_bound;
}
| 4,252 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/TCKindHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4;
final public class TCKindHolder implements org.omg.CORBA.portable.Streamable {
public org.omg.CORBA.TCKind value;
public TCKindHolder() {
}
public TCKindHolder(org.omg.CORBA.TCKind initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = TCKindHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
TCKindHelper.write(out, value);
}
public org.omg.CORBA.TypeCode _type() {
return TCKindHelper.type();
}
}
| 4,253 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/TCKindHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4;
final public class TCKindHelper {
public static void insert(org.omg.CORBA.Any any, org.omg.CORBA.TCKind val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static org.omg.CORBA.TCKind extract(org.omg.CORBA.Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode type() {
if (typeCode_ == null) {
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[34];
members[0] = "tk_null";
members[1] = "tk_void";
members[2] = "tk_short";
members[3] = "tk_long";
members[4] = "tk_ushort";
members[5] = "tk_ulong";
members[6] = "tk_float";
members[7] = "tk_double";
members[8] = "tk_boolean";
members[9] = "tk_char";
members[10] = "tk_octet";
members[11] = "tk_any";
members[12] = "tk_TypeCode";
members[13] = "tk_Principal";
members[14] = "tk_objref";
members[15] = "tk_struct";
members[16] = "tk_union";
members[17] = "tk_enum";
members[18] = "tk_string";
members[19] = "tk_sequence";
members[20] = "tk_array";
members[21] = "tk_alias";
members[22] = "tk_except";
members[23] = "tk_longlong";
members[24] = "tk_ulonglong";
members[25] = "tk_longdouble";
members[26] = "tk_wchar";
members[27] = "tk_wstring";
members[28] = "tk_fixed";
members[29] = "tk_value";
members[30] = "tk_value_box";
members[31] = "tk_native";
members[32] = "tk_abstract_interface";
members[33] = "tk_local_interface";
typeCode_ = orb.create_enum_tc(id(), "TCKind", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TCKind:1.0";
}
public static org.omg.CORBA.TCKind read(
org.omg.CORBA.portable.InputStream in) {
org.omg.CORBA.TCKind _ob_v;
_ob_v = TCKind.from_int(in.read_ulong());
return _ob_v;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
org.omg.CORBA.TCKind val) {
out.write_ulong(val.value());
}
}
| 4,254 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/Object.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4;
public interface Object extends org.omg.CORBA.Object {
org.omg.CORBA.Policy[] _get_policy_overrides(int[] policy_types);
org.omg.CORBA.Policy _get_client_policy(int policy_type);
boolean _validate_connection(org.omg.CORBA.PolicyListHolder policies);
}
| 4,255 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/ORB.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4;
public abstract class ORB extends org.omg.CORBA_2_3.ORB {
public org.omg.CORBA.TypeCode create_local_interface_tc(String id,
String name) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,256 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/TCKind.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4;
//
// This class is necessary because we need to add tk_local_interface
// but the JDK's version of TCKind can interfere
//
public class TCKind extends org.omg.CORBA.TCKind {
public final static int _tk_local_interface = 33;
public static TCKind tk_local_interface;
//
// The behavior of the constructor varies depending on whether
// the JDK's version of org.omg.CORBA.TCKind is present. If it
// is present, the first allocation will cause a BAD_PARAM
// exception, in which case we allocate again using a dummy value.
// If the ORBacus version of org.omg.CORBA.TCKind is present,
// the first constructor will succeed.
//
static {
try {
tk_local_interface = new TCKind(_tk_local_interface);
} catch (org.omg.CORBA.BAD_PARAM ex) {
//
// Must be using the JDK ORB
//
tk_local_interface = new TCKind(0);
}
}
protected TCKind(int value) {
super(value);
}
public int value() {
return _tk_local_interface;
}
public static org.omg.CORBA.TCKind from_int(int value) {
if (value == _tk_local_interface)
return tk_local_interface;
else
return org.omg.CORBA.TCKind.from_int(value);
}
private java.lang.Object readResolve() throws java.io.ObjectStreamException {
return from_int(value());
}
}
| 4,257 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/portable/ObjectImpl.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4.portable;
abstract public class ObjectImpl extends org.omg.CORBA_2_3.portable.ObjectImpl
implements org.omg.CORBA_2_4.Object {
public org.omg.CORBA.Policy[] _get_policy_overrides(int[] policy_types) {
Delegate d = (Delegate) _get_delegate();
return d.get_policy_overrides(this, policy_types);
}
public org.omg.CORBA.Policy _get_client_policy(int policy_type) {
Delegate d = (Delegate) _get_delegate();
return d.get_client_policy(this, policy_type);
}
public boolean _validate_connection(org.omg.CORBA.PolicyListHolder policies) {
Delegate d = (Delegate) _get_delegate();
return d.validate_connection(this, policies);
}
}
| 4,258 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_4/portable/Delegate.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_4.portable;
public abstract class Delegate extends org.omg.CORBA_2_3.portable.Delegate {
public org.omg.CORBA.Policy[] get_policy_overrides(
org.omg.CORBA.Object self, int[] policy_types) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.Policy get_client_policy(org.omg.CORBA.Object self,
int policy_type) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public boolean validate_connection(org.omg.CORBA.Object self,
org.omg.CORBA.PolicyListHolder policies) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,259 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3/ORB.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_3;
public abstract class ORB extends org.omg.CORBA.ORB {
public org.omg.CORBA.Object get_value_def(String repid)
throws org.omg.CORBA.BAD_PARAM {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.portable.ValueFactory register_value_factory(
String id, org.omg.CORBA.portable.ValueFactory factory) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void unregister_value_factory(String id) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.portable.ValueFactory lookup_value_factory(String id) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void set_delegate(java.lang.Object wrapper) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,260 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3/portable/ObjectImpl.java | /**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/***** Copyright (c) 1999 Object Management Group. Unlimited rights to
duplicate and use this code are hereby granted provided that this
copyright notice is included.
*****/
package org.omg.CORBA_2_3.portable;
public abstract class ObjectImpl extends org.omg.CORBA.portable.ObjectImpl {
public String _get_codebase() {
org.omg.CORBA.portable.Delegate delegate = _get_delegate();
if (delegate instanceof org.omg.CORBA_2_3.portable.Delegate)
return ((org.omg.CORBA_2_3.portable.Delegate)
delegate).get_codebase(this);
return null;
}
}
| 4,261 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3/portable/InputStream.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_3.portable;
public abstract class InputStream extends org.omg.CORBA.portable.InputStream {
public java.io.Serializable read_value() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.io.Serializable read_value(java.io.Serializable value) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.io.Serializable read_value(java.lang.String rep_id) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.io.Serializable read_value(Class clz) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.io.Serializable read_value(
org.omg.CORBA.portable.BoxedValueHelper factory) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.lang.Object read_abstract_interface() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.lang.Object read_abstract_interface(java.lang.Class clz) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,262 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3/portable/OutputStream.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_3.portable;
public abstract class OutputStream extends org.omg.CORBA.portable.OutputStream {
public void write_value(java.io.Serializable value) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void write_value(java.io.Serializable value, java.lang.String rep_id) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void write_value(java.io.Serializable value, Class clz) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void write_value(java.io.Serializable value,
org.omg.CORBA.portable.BoxedValueHelper factory) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void write_abstract_interface(java.lang.Object obj) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,263 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA_2_3/portable/Delegate.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA_2_3.portable;
public abstract class Delegate extends org.omg.CORBA.portable.Delegate {
public String get_codebase(org.omg.CORBA.Object self) {
return null;
}
}
| 4,264 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NativeDefSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/NativeDefSeq:1.0
//
final public class NativeDefSeqHolder implements org.omg.CORBA.portable.Streamable
{
public NativeDef[] value;
public
NativeDefSeqHolder()
{
}
public
NativeDefSeqHolder(NativeDef[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NativeDefSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NativeDefSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NativeDefSeqHelper.type();
}
}
| 4,265 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FREE_MEM.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class FREE_MEM extends org.omg.CORBA.SystemException {
public FREE_MEM() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public FREE_MEM(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public FREE_MEM(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public FREE_MEM(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,266 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_ValueDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueDef:1.0
//
public class _ValueDefStub extends org.omg.CORBA.portable.ObjectImpl
implements ValueDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/ValueDef:1.0",
"IDL:omg.org/CORBA/Container:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = ValueDefOperations.class;
//
// IDL:omg.org/CORBA/ValueDef/supported_interfaces:1.0
//
public InterfaceDef[]
supported_interfaces()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_supported_interfaces", true);
in = _invoke(out);
InterfaceDef[] _ob_r = InterfaceDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("supported_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.supported_interfaces();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
supported_interfaces(InterfaceDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_supported_interfaces", true);
InterfaceDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("supported_interfaces", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.supported_interfaces(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/initializers:1.0
//
public Initializer[]
initializers()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_initializers", true);
in = _invoke(out);
Initializer[] _ob_r = InitializerSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("initializers", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.initializers();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
initializers(Initializer[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_initializers", true);
InitializerSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("initializers", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.initializers(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/base_value:1.0
//
public ValueDef
base_value()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_base_value", true);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_value", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.base_value();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
base_value(ValueDef _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_base_value", true);
ValueDefHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_value", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.base_value(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/abstract_base_values:1.0
//
public ValueDef[]
abstract_base_values()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_abstract_base_values", true);
in = _invoke(out);
ValueDef[] _ob_r = ValueDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("abstract_base_values", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.abstract_base_values();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
abstract_base_values(ValueDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_abstract_base_values", true);
ValueDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("abstract_base_values", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.abstract_base_values(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/is_abstract:1.0
//
public boolean
is_abstract()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_is_abstract", true);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_abstract", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.is_abstract();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
is_abstract(boolean _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_is_abstract", true);
out.write_boolean(_ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_abstract", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.is_abstract(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/is_custom:1.0
//
public boolean
is_custom()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_is_custom", true);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_custom", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.is_custom();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
is_custom(boolean _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_is_custom", true);
out.write_boolean(_ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_custom", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.is_custom(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/is_truncatable:1.0
//
public boolean
is_truncatable()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_is_truncatable", true);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_truncatable", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.is_truncatable();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
is_truncatable(boolean _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_is_truncatable", true);
out.write_boolean(_ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_truncatable", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.is_truncatable(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/is_a:1.0
//
public boolean
is_a(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("is_a", true);
RepositoryIdHelper.write(out, _ob_a0);
in = _invoke(out);
boolean _ob_r = in.read_boolean();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("is_a", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.is_a(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/describe_value:1.0
//
public org.omg.CORBA.ValueDefPackage.FullValueDescription
describe_value()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_value", true);
in = _invoke(out);
org.omg.CORBA.ValueDefPackage.FullValueDescription _ob_r = org.omg.CORBA.ValueDefPackage.FullValueDescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_value", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_value();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/create_value_member:1.0
//
public ValueMemberDef
create_value_member(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
short _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_member", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
VisibilityHelper.write(out, _ob_a4);
in = _invoke(out);
ValueMemberDef _ob_r = ValueMemberDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_member", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_member(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/create_attribute:1.0
//
public AttributeDef
create_attribute(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
AttributeMode _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_attribute", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
AttributeModeHelper.write(out, _ob_a4);
in = _invoke(out);
AttributeDef _ob_r = AttributeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_attribute", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_attribute(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/create_operation:1.0
//
public OperationDef
create_operation(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
OperationMode _ob_a4,
ParameterDescription[] _ob_a5,
ExceptionDef[] _ob_a6,
String[] _ob_a7)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_operation", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
OperationModeHelper.write(out, _ob_a4);
ParDescriptionSeqHelper.write(out, _ob_a5);
ExceptionDefSeqHelper.write(out, _ob_a6);
ContextIdSeqHelper.write(out, _ob_a7);
in = _invoke(out);
OperationDef _ob_r = OperationDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_operation", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_operation(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ValueDef/_OB_create_operation:1.0
//
public OperationDef
_OB_create_operation(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
OperationMode _ob_a4,
ParameterDescription[] _ob_a5,
ExceptionDef[] _ob_a6,
NativeDef[] _ob_a7,
String[] _ob_a8)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_OB_create_operation", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
OperationModeHelper.write(out, _ob_a4);
ParDescriptionSeqHelper.write(out, _ob_a5);
ExceptionDefSeqHelper.write(out, _ob_a6);
NativeDefSeqHelper.write(out, _ob_a7);
ContextIdSeqHelper.write(out, _ob_a8);
in = _invoke(out);
OperationDef _ob_r = OperationDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("_OB_create_operation", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self._OB_create_operation(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
public Contained
lookup(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup", true);
ScopedNameHelper.write(out, _ob_a0);
in = _invoke(out);
Contained _ob_r = ContainedHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
public Contained[]
contents(DefinitionKind _ob_a0,
boolean _ob_a1)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contents", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.contents(_ob_a0, _ob_a1);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
public Contained[]
lookup_name(String _ob_a0,
int _ob_a1,
DefinitionKind _ob_a2,
boolean _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup_name", true);
IdentifierHelper.write(out, _ob_a0);
out.write_long(_ob_a1);
DefinitionKindHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup_name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup_name(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
public org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind _ob_a0,
boolean _ob_a1,
int _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
out.write_long(_ob_a2);
in = _invoke(out);
org.omg.CORBA.ContainerPackage.Description[] _ob_r = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_contents", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_contents(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
public ModuleDef
create_module(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_module", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
ModuleDef _ob_r = ModuleDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_module", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_module(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
public ConstantDef
create_constant(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
org.omg.CORBA.Any _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_constant", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
out.write_any(_ob_a4);
in = _invoke(out);
ConstantDef _ob_r = ConstantDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_constant", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_constant(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
public StructDef
create_struct(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_struct", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
StructDef _ob_r = StructDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_struct", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_struct(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
public UnionDef
create_union(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
UnionMember[] _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_union", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
UnionMemberSeqHelper.write(out, _ob_a4);
in = _invoke(out);
UnionDef _ob_r = UnionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_union", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_union(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
public EnumDef
create_enum(String _ob_a0,
String _ob_a1,
String _ob_a2,
String[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_enum", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
EnumMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
EnumDef _ob_r = EnumDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_enum", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_enum(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
public AliasDef
create_alias(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_alias", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
AliasDef _ob_r = AliasDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_alias", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_alias(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
public InterfaceDef
create_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
InterfaceDef _ob_r = InterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
public AbstractInterfaceDef
create_abstract_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
AbstractInterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_abstract_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
AbstractInterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
AbstractInterfaceDef _ob_r = AbstractInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_abstract_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_abstract_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
public LocalInterfaceDef
create_local_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_local_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
LocalInterfaceDef _ob_r = LocalInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_local_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_local_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
public ExceptionDef
create_exception(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_exception", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
ExceptionDef _ob_r = ExceptionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_exception", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_exception(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
public ValueDef
create_value(String _ob_a0,
String _ob_a1,
String _ob_a2,
boolean _ob_a3,
boolean _ob_a4,
ValueDef _ob_a5,
boolean _ob_a6,
ValueDef[] _ob_a7,
InterfaceDef[] _ob_a8,
Initializer[] _ob_a9)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
out.write_boolean(_ob_a4);
ValueDefHelper.write(out, _ob_a5);
out.write_boolean(_ob_a6);
ValueDefSeqHelper.write(out, _ob_a7);
InterfaceDefSeqHelper.write(out, _ob_a8);
InitializerSeqHelper.write(out, _ob_a9);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8, _ob_a9);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
public ValueBoxDef
create_value_box(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_box", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
ValueBoxDef _ob_r = ValueBoxDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_box", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_box(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
public NativeDef
create_native(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_native", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
NativeDef _ob_r = NativeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_native", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
ValueDefOperations _ob_self = (ValueDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,267 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_RESOURCESHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_RESOURCESHelper {
public static void insert(Any any, NO_RESOURCES val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NO_RESOURCES extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "NO_RESOURCES", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/NO_RESOURCES:1.0";
}
public static NO_RESOURCES read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
NO_RESOURCES val = new NO_RESOURCES();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
NO_RESOURCES val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,268 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/OperationDefOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/OperationDef:1.0
//
/***/
public interface OperationDefOperations extends ContainedOperations
{
//
// IDL:omg.org/CORBA/OperationDef/result:1.0
//
/***/
org.omg.CORBA.TypeCode
result();
//
// IDL:omg.org/CORBA/OperationDef/result_def:1.0
//
/***/
IDLType
result_def();
void
result_def(IDLType val);
//
// IDL:omg.org/CORBA/OperationDef/params:1.0
//
/***/
ParameterDescription[]
params();
void
params(ParameterDescription[] val);
//
// IDL:omg.org/CORBA/OperationDef/mode:1.0
//
/***/
OperationMode
mode();
void
mode(OperationMode val);
//
// IDL:omg.org/CORBA/OperationDef/contexts:1.0
//
/***/
String[]
contexts();
void
contexts(String[] val);
//
// IDL:omg.org/CORBA/OperationDef/exceptions:1.0
//
/***/
ExceptionDef[]
exceptions();
void
exceptions(ExceptionDef[] val);
//
// IDL:omg.org/CORBA/OperationDef/native_exceptions:1.0
//
/***/
NativeDef[]
native_exceptions();
void
native_exceptions(NativeDef[] val);
}
| 4,269 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FixedDefOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/FixedDef:1.0
//
/***/
public interface FixedDefOperations extends IDLTypeOperations
{
//
// IDL:omg.org/CORBA/FixedDef/digits:1.0
//
/***/
short
digits();
void
digits(short val);
//
// IDL:omg.org/CORBA/FixedDef/scale:1.0
//
/***/
short
scale();
void
scale(short val);
}
| 4,270 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PrimitiveKindHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/PrimitiveKind:1.0
//
final public class PrimitiveKindHelper
{
public static void
insert(org.omg.CORBA.Any any, PrimitiveKind val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static PrimitiveKind
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[22];
members[0] = "pk_null";
members[1] = "pk_void";
members[2] = "pk_short";
members[3] = "pk_long";
members[4] = "pk_ushort";
members[5] = "pk_ulong";
members[6] = "pk_float";
members[7] = "pk_double";
members[8] = "pk_boolean";
members[9] = "pk_char";
members[10] = "pk_octet";
members[11] = "pk_any";
members[12] = "pk_TypeCode";
members[13] = "pk_Principal";
members[14] = "pk_string";
members[15] = "pk_objref";
members[16] = "pk_longlong";
members[17] = "pk_ulonglong";
members[18] = "pk_longdouble";
members[19] = "pk_wchar";
members[20] = "pk_wstring";
members[21] = "pk_value_base";
typeCode_ = orb.create_enum_tc(id(), "PrimitiveKind", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PrimitiveKind:1.0";
}
public static PrimitiveKind
read(org.omg.CORBA.portable.InputStream in)
{
PrimitiveKind _ob_v;
_ob_v = PrimitiveKind.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, PrimitiveKind val)
{
out.write_ulong(val.value());
}
}
| 4,271 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BooleanSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/BooleanSeq:1.0
//
final public class BooleanSeqHolder implements org.omg.CORBA.portable.Streamable
{
public boolean[] value;
public
BooleanSeqHolder()
{
}
public
BooleanSeqHolder(boolean[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = BooleanSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
BooleanSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return BooleanSeqHelper.type();
}
}
| 4,272 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InterfaceDefSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDefSeq:1.0
//
final public class InterfaceDefSeqHolder implements org.omg.CORBA.portable.Streamable
{
public InterfaceDef[] value;
public
InterfaceDefSeqHolder()
{
}
public
InterfaceDefSeqHolder(InterfaceDef[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = InterfaceDefSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
InterfaceDefSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return InterfaceDefSeqHelper.type();
}
}
| 4,273 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ParameterModeHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ParameterMode:1.0
//
final public class ParameterModeHolder implements org.omg.CORBA.portable.Streamable
{
public ParameterMode value;
public
ParameterModeHolder()
{
}
public
ParameterModeHolder(ParameterMode initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ParameterModeHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ParameterModeHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ParameterModeHelper.type();
}
}
| 4,274 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/RepositoryOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Repository:1.0
//
/***/
public interface RepositoryOperations extends ContainerOperations
{
//
// IDL:omg.org/CORBA/Repository/lookup_id:1.0
//
/***/
Contained
lookup_id(String search_id);
//
// IDL:omg.org/CORBA/Repository/get_canonical_typecode:1.0
//
/***/
org.omg.CORBA.TypeCode
get_canonical_typecode(org.omg.CORBA.TypeCode tc);
//
// IDL:omg.org/CORBA/Repository/get_primitive:1.0
//
/***/
PrimitiveDef
get_primitive(PrimitiveKind kind);
//
// IDL:omg.org/CORBA/Repository/create_string:1.0
//
/***/
StringDef
create_string(int bound);
//
// IDL:omg.org/CORBA/Repository/create_wstring:1.0
//
/***/
WstringDef
create_wstring(int bound);
//
// IDL:omg.org/CORBA/Repository/create_sequence:1.0
//
/***/
SequenceDef
create_sequence(int bound,
IDLType element_type);
//
// IDL:omg.org/CORBA/Repository/create_array:1.0
//
/***/
ArrayDef
create_array(int length,
IDLType element_type);
//
// IDL:omg.org/CORBA/Repository/create_fixed:1.0
//
/***/
FixedDef
create_fixed(short digits,
short scale);
}
| 4,275 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BooleanHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BooleanHolder implements org.omg.CORBA.portable.Streamable {
public boolean value;
public BooleanHolder() {
}
public BooleanHolder(boolean initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_boolean();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_boolean(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_boolean);
}
}
| 4,276 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueDescriptionHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueDescription:1.0
//
final public class ValueDescriptionHolder implements org.omg.CORBA.portable.Streamable
{
public ValueDescription value;
public
ValueDescriptionHolder()
{
}
public
ValueDescriptionHolder(ValueDescription initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ValueDescriptionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ValueDescriptionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ValueDescriptionHelper.type();
}
}
| 4,277 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TCKindHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class TCKindHolder implements org.omg.CORBA.portable.Streamable {
public TCKind value;
public TCKindHolder() {
}
public TCKindHolder(TCKind initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = TCKindHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
TCKindHelper.write(out, value);
}
public org.omg.CORBA.TypeCode _type() {
return TCKindHelper.type();
}
}
| 4,278 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AliasDefHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/AliasDef:1.0
//
final public class AliasDefHelper
{
public static void
insert(org.omg.CORBA.Any any, AliasDef val)
{
any.insert_Object(val, type());
}
public static AliasDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "AliasDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/AliasDef:1.0";
}
public static AliasDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (AliasDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_AliasDefStub _ob_stub = new _AliasDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, AliasDef val)
{
out.write_Object(val);
}
public static AliasDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (AliasDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_AliasDefStub _ob_stub = new _AliasDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static AliasDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (AliasDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_AliasDefStub _ob_stub = new _AliasDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,279 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/LocalInterfaceDefSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/LocalInterfaceDefSeq:1.0
//
final public class LocalInterfaceDefSeqHolder implements org.omg.CORBA.portable.Streamable
{
public LocalInterfaceDef[] value;
public
LocalInterfaceDefSeqHolder()
{
}
public
LocalInterfaceDefSeqHolder(LocalInterfaceDef[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = LocalInterfaceDefSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
LocalInterfaceDefSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return LocalInterfaceDefSeqHelper.type();
}
}
| 4,280 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InterfaceDefHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDef:1.0
//
final public class InterfaceDefHelper
{
public static void
insert(org.omg.CORBA.Any any, InterfaceDef val)
{
any.insert_Object(val, type());
}
public static InterfaceDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "InterfaceDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/InterfaceDef:1.0";
}
public static InterfaceDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (InterfaceDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_InterfaceDefStub _ob_stub = new _InterfaceDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, InterfaceDef val)
{
out.write_Object(val);
}
public static InterfaceDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (InterfaceDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_InterfaceDefStub _ob_stub = new _InterfaceDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static InterfaceDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (InterfaceDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_InterfaceDefStub _ob_stub = new _InterfaceDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,281 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/IRObjectOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/IRObject:1.0
//
/***/
public interface IRObjectOperations
{
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
/***/
DefinitionKind
def_kind();
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
/***/
void
destroy();
}
| 4,282 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueBoxDef.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueBoxDef:1.0
//
/***/
public interface ValueBoxDef extends ValueBoxDefOperations,
TypedefDef,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,283 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DefinitionKindHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/DefinitionKind:1.0
//
final public class DefinitionKindHolder implements org.omg.CORBA.portable.Streamable
{
public DefinitionKind value;
public
DefinitionKindHolder()
{
}
public
DefinitionKindHolder(DefinitionKind initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DefinitionKindHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DefinitionKindHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DefinitionKindHelper.type();
}
}
| 4,284 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UShortSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/UShortSeq:1.0
//
public abstract class UShortSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, short[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static short[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "UShortSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/UShortSeq:1.0";
}
public static short[]
read(org.omg.CORBA.portable.InputStream in)
{
short[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new short[len0];
in.read_ushort_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, short[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_ushort_array(val, 0, len0);
}
}
| 4,285 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/RepositoryHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Repository:1.0
//
final public class RepositoryHelper
{
public static void
insert(org.omg.CORBA.Any any, Repository val)
{
any.insert_Object(val, type());
}
public static Repository
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "Repository");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/Repository:1.0";
}
public static Repository
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (Repository)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_RepositoryStub _ob_stub = new _RepositoryStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Repository val)
{
out.write_Object(val);
}
public static Repository
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Repository)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_RepositoryStub _ob_stub = new _RepositoryStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static Repository
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Repository)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_RepositoryStub _ob_stub = new _RepositoryStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,286 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_IMPLEMENTHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_IMPLEMENTHelper {
public static void insert(Any any, NO_IMPLEMENT val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NO_IMPLEMENT extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "NO_IMPLEMENT", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/NO_IMPLEMENT:1.0";
}
public static NO_IMPLEMENT read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
NO_IMPLEMENT val = new NO_IMPLEMENT();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
NO_IMPLEMENT val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,287 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PolicyErrorCodeHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/PolicyErrorCode:1.0
//
public abstract class PolicyErrorCodeHelper
{
public static void
insert(org.omg.CORBA.Any any, short val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static short
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "PolicyErrorCode", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PolicyErrorCode:1.0";
}
public static short
read(org.omg.CORBA.portable.InputStream in)
{
short _ob_v;
_ob_v = in.read_short();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, short val)
{
out.write_short(val);
}
}
| 4,288 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContainedHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Contained:1.0
//
final public class ContainedHolder implements org.omg.CORBA.portable.Streamable
{
public Contained value;
public
ContainedHolder()
{
}
public
ContainedHolder(Contained initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ContainedHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ContainedHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ContainedHelper.type();
}
}
| 4,289 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ParDescriptionSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ParDescriptionSeq:1.0
//
final public class ParDescriptionSeqHolder implements org.omg.CORBA.portable.Streamable
{
public ParameterDescription[] value;
public
ParDescriptionSeqHolder()
{
}
public
ParDescriptionSeqHolder(ParameterDescription[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ParDescriptionSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ParDescriptionSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ParDescriptionSeqHelper.type();
}
}
| 4,290 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_OperationDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/OperationDef:1.0
//
public class _OperationDefStub extends org.omg.CORBA.portable.ObjectImpl
implements OperationDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/OperationDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = OperationDefOperations.class;
//
// IDL:omg.org/CORBA/OperationDef/result:1.0
//
public org.omg.CORBA.TypeCode
result()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_result", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("result", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.result();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/OperationDef/result_def:1.0
//
public IDLType
result_def()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_result_def", true);
in = _invoke(out);
IDLType _ob_r = IDLTypeHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("result_def", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.result_def();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
result_def(IDLType _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_result_def", true);
IDLTypeHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("result_def", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.result_def(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/OperationDef/params:1.0
//
public ParameterDescription[]
params()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_params", true);
in = _invoke(out);
ParameterDescription[] _ob_r = ParDescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("params", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.params();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
params(ParameterDescription[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_params", true);
ParDescriptionSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("params", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.params(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/OperationDef/mode:1.0
//
public OperationMode
mode()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_mode", true);
in = _invoke(out);
OperationMode _ob_r = OperationModeHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("mode", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.mode();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
mode(OperationMode _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_mode", true);
OperationModeHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("mode", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.mode(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/OperationDef/contexts:1.0
//
public String[]
contexts()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_contexts", true);
in = _invoke(out);
String[] _ob_r = ContextIdSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contexts", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.contexts();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
contexts(String[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_contexts", true);
ContextIdSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contexts", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.contexts(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/OperationDef/exceptions:1.0
//
public ExceptionDef[]
exceptions()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_exceptions", true);
in = _invoke(out);
ExceptionDef[] _ob_r = ExceptionDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("exceptions", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.exceptions();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
exceptions(ExceptionDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_exceptions", true);
ExceptionDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("exceptions", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.exceptions(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/OperationDef/native_exceptions:1.0
//
public NativeDef[]
native_exceptions()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_native_exceptions", true);
in = _invoke(out);
NativeDef[] _ob_r = NativeDefSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("native_exceptions", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.native_exceptions();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
native_exceptions(NativeDef[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_native_exceptions", true);
NativeDefSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("native_exceptions", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.native_exceptions(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
OperationDefOperations _ob_self = (OperationDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,291 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/IdentifierHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Identifier:1.0
//
public abstract class IdentifierHelper
{
public static void
insert(org.omg.CORBA.Any any, String val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "Identifier", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/Identifier:1.0";
}
public static String
read(org.omg.CORBA.portable.InputStream in)
{
String _ob_v;
_ob_v = in.read_string();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String val)
{
out.write_string(val);
}
}
| 4,292 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AbstractBaseHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
abstract public class AbstractBaseHelper {
public static void insert(org.omg.CORBA.Any a, java.lang.Object v) {
org.omg.CORBA.portable.OutputStream out = a.create_output_stream();
write(out, v);
a.read_value(out.create_input_stream(), type());
}
public static java.lang.Object extract(org.omg.CORBA.Any a) {
if (a.type().equivalent(type()))
return read(a.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode type() {
if (typeCode_ == null) {
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_native_tc(id(), "AbstractBase");
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/AbstractBase:1.0";
}
public static java.lang.Object read(org.omg.CORBA.portable.InputStream in) {
org.omg.CORBA_2_3.portable.InputStream in_2_3 = (org.omg.CORBA_2_3.portable.InputStream) in;
return in_2_3.read_abstract_interface();
}
public static void write(org.omg.CORBA.portable.OutputStream out,
java.lang.Object value) {
org.omg.CORBA_2_3.portable.OutputStream out_2_3 = (org.omg.CORBA_2_3.portable.OutputStream) out;
out_2_3.write_abstract_interface(value);
}
}
| 4,293 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContainedHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Contained:1.0
//
final public class ContainedHelper
{
public static void
insert(org.omg.CORBA.Any any, Contained val)
{
any.insert_Object(val, type());
}
public static Contained
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "Contained");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/Contained:1.0";
}
public static Contained
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (Contained)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ContainedStub _ob_stub = new _ContainedStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Contained val)
{
out.write_Object(val);
}
public static Contained
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Contained)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ContainedStub _ob_stub = new _ContainedStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static Contained
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (Contained)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ContainedStub _ob_stub = new _ContainedStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,294 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TypeDescription.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/TypeDescription:1.0
//
/***/
final public class TypeDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/TypeDescription:1.0";
public
TypeDescription()
{
}
public
TypeDescription(String name,
String id,
String defined_in,
String version,
org.omg.CORBA.TypeCode type)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.type = type;
}
public String name;
public String id;
public String defined_in;
public String version;
public org.omg.CORBA.TypeCode type;
}
| 4,295 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ModuleDef.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ModuleDef:1.0
//
/***/
public interface ModuleDef extends ModuleDefOperations,
Container,
Contained,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,296 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ParDescriptionSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ParDescriptionSeq:1.0
//
final public class ParDescriptionSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, ParameterDescription[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ParameterDescription[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ParDescriptionSeq", orb.create_sequence_tc(0, ParameterDescriptionHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ParDescriptionSeq:1.0";
}
public static ParameterDescription[]
read(org.omg.CORBA.portable.InputStream in)
{
ParameterDescription[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new ParameterDescription[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ParameterDescriptionHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ParameterDescription[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ParameterDescriptionHelper.write(out, val[i0]);
}
}
| 4,297 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServerRequest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
public abstract class ServerRequest {
/**
* @deprecated use operation()
*/
public String op_name() {
return operation();
}
public String operation() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public abstract Context ctx();
/**
* @deprecated use arguments()
*/
public void params(NVList parms) {
arguments(parms);
}
public void arguments(NVList nv) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
/**
* @deprecated use set_result()
*/
public void result(Any a) {
set_result(a);
}
public void set_result(Any a) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
/**
* @deprecated use set_exception()
*/
public void except(Any a) {
set_exception(a);
}
public void set_exception(Any val) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,298 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PolicyPOA.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Policy:1.0
//
public abstract class PolicyPOA
extends org.omg.PortableServer.Servant
implements org.omg.CORBA.portable.InvokeHandler,
PolicyOperations
{
static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/Policy:1.0",
};
public Policy
_this()
{
return PolicyHelper.narrow(super._this_object());
}
public Policy
_this(org.omg.CORBA.ORB orb)
{
return PolicyHelper.narrow(super._this_object(orb));
}
public String[]
_all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
{
return _ob_ids_;
}
public org.omg.CORBA.portable.OutputStream
_invoke(String opName,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
final String[] _ob_names =
{
"_get_policy_type",
"copy",
"destroy"
};
int _ob_left = 0;
int _ob_right = _ob_names.length;
int _ob_index = -1;
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(opName);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
if(_ob_index == -1 && opName.charAt(0) == '_')
{
_ob_left = 0;
_ob_right = _ob_names.length;
String _ob_ami_op =
opName.substring(1);
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(_ob_ami_op);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
}
switch(_ob_index)
{
case 0: // _get_policy_type
return _OB_att_get_policy_type(in, handler);
case 1: // copy
return _OB_op_copy(in, handler);
case 2: // destroy
return _OB_op_destroy(in, handler);
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private org.omg.CORBA.portable.OutputStream
_OB_att_get_policy_type(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
int _ob_r = policy_type();
org.omg.CORBA.portable.OutputStream out = handler.createReply();
PolicyTypeHelper.write(out, _ob_r);
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_copy(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
Policy _ob_r = copy();
out = handler.createReply();
PolicyHelper.write(out, _ob_r);
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_op_destroy(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
destroy();
out = handler.createReply();
return out;
}
}
| 4,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.