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/CORBA/CODESET_INCOMPATIBLEHelper.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 CODESET_INCOMPATIBLEHelper {
public static void insert(Any any, CODESET_INCOMPATIBLE val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static CODESET_INCOMPATIBLE 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(), "CODESET_INCOMPATIBLE",
members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/CODESET_INCOMPATIBLE:1.0";
}
public static CODESET_INCOMPATIBLE read(
org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
CODESET_INCOMPATIBLE val = new CODESET_INCOMPATIBLE();
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,
CODESET_INCOMPATIBLE val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,700 |
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/ExcDescriptionSeqHelper.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/ExcDescriptionSeq:1.0
//
final public class ExcDescriptionSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, ExceptionDescription[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ExceptionDescription[]
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(), "ExcDescriptionSeq", orb.create_sequence_tc(0, ExceptionDescriptionHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ExcDescriptionSeq:1.0";
}
public static ExceptionDescription[]
read(org.omg.CORBA.portable.InputStream in)
{
ExceptionDescription[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new ExceptionDescription[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ExceptionDescriptionHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ExceptionDescription[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ExceptionDescriptionHelper.write(out, val[i0]);
}
}
| 4,701 |
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/RepositoryIdSeqHelper.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/RepositoryIdSeq:1.0
//
final public class RepositoryIdSeqHelper
{
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(), "RepositoryIdSeq", orb.create_sequence_tc(0, RepositoryIdHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/RepositoryIdSeq:1.0";
}
public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
String[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new String[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = in.read_string();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
out.write_string(val[i0]);
}
}
| 4,702 |
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/ExceptionDefSeqHolder.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/ExceptionDefSeq:1.0
//
final public class ExceptionDefSeqHolder implements org.omg.CORBA.portable.Streamable
{
public ExceptionDef[] value;
public
ExceptionDefSeqHolder()
{
}
public
ExceptionDefSeqHolder(ExceptionDef[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ExceptionDefSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ExceptionDefSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ExceptionDefSeqHelper.type();
}
}
| 4,703 |
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_MEMHolder.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_MEMHolder implements org.omg.CORBA.portable.Streamable {
public FREE_MEM value;
public FREE_MEMHolder() {
}
public FREE_MEMHolder(FREE_MEM initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = FREE_MEMHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
FREE_MEMHelper.write(out, value);
}
public TypeCode _type() {
return FREE_MEMHelper.type();
}
}
| 4,704 |
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/FloatHolder.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 FloatHolder implements org.omg.CORBA.portable.Streamable {
public float value;
public FloatHolder() {
}
public FloatHolder(float initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_float();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_float(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_float);
}
}
| 4,705 |
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/TypedefDef.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/TypedefDef:1.0
//
/***/
public interface TypedefDef extends TypedefDefOperations,
Contained,
IDLType,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,706 |
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/TIMEOUTHelper.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 TIMEOUTHelper {
public static void insert(Any any, TIMEOUT val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TIMEOUT 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(), "TIMEOUT", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TIMEOUT:1.0";
}
public static TIMEOUT read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
TIMEOUT val = new TIMEOUT();
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,
TIMEOUT val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,707 |
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/MARSHALHelper.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 MARSHALHelper {
public static void insert(Any any, MARSHAL val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MARSHAL 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(), "MARSHAL", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/MARSHAL:1.0";
}
public static MARSHAL read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
MARSHAL val = new MARSHAL();
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,
MARSHAL val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,708 |
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/PolicyErrorHolder.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/PolicyError:1.0
//
final public class PolicyErrorHolder implements org.omg.CORBA.portable.Streamable
{
public PolicyError value;
public
PolicyErrorHolder()
{
}
public
PolicyErrorHolder(PolicyError initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PolicyErrorHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PolicyErrorHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PolicyErrorHelper.type();
}
}
| 4,709 |
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/_StringDefStub.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/StringDef:1.0
//
public class _StringDefStub extends org.omg.CORBA.portable.ObjectImpl
implements StringDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/StringDef:1.0",
"IDL:omg.org/CORBA/IDLType:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = StringDefOperations.class;
//
// IDL:omg.org/CORBA/StringDef/bound:1.0
//
public int
bound()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_bound", true);
in = _invoke(out);
int _ob_r = in.read_ulong();
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("bound", _ob_opsClass);
if(_ob_so == null)
continue;
StringDefOperations _ob_self = (StringDefOperations)_ob_so.servant;
try
{
return _ob_self.bound();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
bound(int _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_bound", true);
out.write_ulong(_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("bound", _ob_opsClass);
if(_ob_so == null)
continue;
StringDefOperations _ob_self = (StringDefOperations)_ob_so.servant;
try
{
_ob_self.bound(_ob_a);
return;
}
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;
StringDefOperations _ob_self = (StringDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
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;
StringDefOperations _ob_self = (StringDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
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;
StringDefOperations _ob_self = (StringDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,710 |
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/AliasDef.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
//
/***/
public interface AliasDef extends AliasDefOperations,
TypedefDef,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,711 |
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/PolicyListHelper.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/PolicyList:1.0
//
public abstract class PolicyListHelper
{
public static void
insert(org.omg.CORBA.Any any, Policy[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Policy[]
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(), "PolicyList", orb.create_sequence_tc(0, PolicyHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PolicyList:1.0";
}
public static Policy[]
read(org.omg.CORBA.portable.InputStream in)
{
Policy[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new Policy[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = PolicyHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Policy[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
PolicyHelper.write(out, val[i0]);
}
}
| 4,712 |
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/IRObjectHolder.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
//
final public class IRObjectHolder implements org.omg.CORBA.portable.Streamable
{
public IRObject value;
public
IRObjectHolder()
{
}
public
IRObjectHolder(IRObject initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = IRObjectHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
IRObjectHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return IRObjectHelper.type();
}
}
| 4,713 |
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/ModuleDefHelper.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
//
final public class ModuleDefHelper
{
public static void
insert(org.omg.CORBA.Any any, ModuleDef val)
{
any.insert_Object(val, type());
}
public static ModuleDef
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(), "ModuleDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ModuleDef:1.0";
}
public static ModuleDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (ModuleDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ModuleDefStub _ob_stub = new _ModuleDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ModuleDef val)
{
out.write_Object(val);
}
public static ModuleDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ModuleDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ModuleDefStub _ob_stub = new _ModuleDefStub();
_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 ModuleDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ModuleDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ModuleDefStub _ob_stub = new _ModuleDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,714 |
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/ExceptionDefHolder.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/ExceptionDef:1.0
//
final public class ExceptionDefHolder implements org.omg.CORBA.portable.Streamable
{
public ExceptionDef value;
public
ExceptionDefHolder()
{
}
public
ExceptionDefHolder(ExceptionDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ExceptionDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ExceptionDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ExceptionDefHelper.type();
}
}
| 4,715 |
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/PERSIST_STOREHelper.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 PERSIST_STOREHelper {
public static void insert(Any any, PERSIST_STORE val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static PERSIST_STORE 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(), "PERSIST_STORE", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/PERSIST_STORE:1.0";
}
public static PERSIST_STORE read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
PERSIST_STORE val = new PERSIST_STORE();
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,
PERSIST_STORE val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,716 |
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/_StructDefStub.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/StructDef:1.0
//
public class _StructDefStub extends org.omg.CORBA.portable.ObjectImpl
implements StructDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/StructDef:1.0",
"IDL:omg.org/CORBA/TypedefDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/IDLType:1.0",
"IDL:omg.org/CORBA/Container:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = StructDefOperations.class;
//
// IDL:omg.org/CORBA/StructDef/members:1.0
//
public StructMember[]
members()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_members", true);
in = _invoke(out);
StructMember[] _ob_r = StructMemberSeqHelper.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("members", _ob_opsClass);
if(_ob_so == null)
continue;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
return _ob_self.members();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
members(StructMember[] _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_members", true);
StructMemberSeqHelper.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("members", _ob_opsClass);
if(_ob_so == null)
continue;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
_ob_self.members(_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
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;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/StructDef/_OB_isForwardDcl:1.0
//
public boolean
_OB_isForwardDcl()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_OB_isForwardDcl", 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();
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_isForwardDcl", _ob_opsClass);
if(_ob_so == null)
continue;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
return _ob_self._OB_isForwardDcl();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/StructDef/_OB_setForwardDcl:1.0
//
public void
_OB_setForwardDcl(boolean _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("_OB_setForwardDcl", true);
out.write_boolean(_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("_OB_setForwardDcl", _ob_opsClass);
if(_ob_so == null)
continue;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
_ob_self._OB_setForwardDcl(_ob_a0);
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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_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;
StructDefOperations _ob_self = (StructDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,717 |
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/PolicyOperations.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 interface PolicyOperations
{
//
// IDL:omg.org/CORBA/Policy/policy_type:1.0
//
/***/
int
policy_type();
//
// IDL:omg.org/CORBA/Policy/copy:1.0
//
/***/
Policy
copy();
//
// IDL:omg.org/CORBA/Policy/destroy:1.0
//
/***/
void
destroy();
}
| 4,718 |
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/PolicyTypeSeqHolder.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/PolicyTypeSeq:1.0
//
final public class PolicyTypeSeqHolder implements org.omg.CORBA.portable.Streamable
{
public int[] value;
public
PolicyTypeSeqHolder()
{
}
public
PolicyTypeSeqHolder(int[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PolicyTypeSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PolicyTypeSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PolicyTypeSeqHelper.type();
}
}
| 4,719 |
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/PrimitiveDefHelper.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/PrimitiveDef:1.0
//
final public class PrimitiveDefHelper
{
public static void
insert(org.omg.CORBA.Any any, PrimitiveDef val)
{
any.insert_Object(val, type());
}
public static PrimitiveDef
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(), "PrimitiveDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PrimitiveDef:1.0";
}
public static PrimitiveDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (PrimitiveDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_PrimitiveDefStub _ob_stub = new _PrimitiveDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, PrimitiveDef val)
{
out.write_Object(val);
}
public static PrimitiveDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (PrimitiveDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_PrimitiveDefStub _ob_stub = new _PrimitiveDefStub();
_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 PrimitiveDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (PrimitiveDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_PrimitiveDefStub _ob_stub = new _PrimitiveDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,720 |
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/OperationModeHelper.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/OperationMode:1.0
//
final public class OperationModeHelper
{
public static void
insert(org.omg.CORBA.Any any, OperationMode val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static OperationMode
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] = "OP_NORMAL";
members[1] = "OP_ONEWAY";
typeCode_ = orb.create_enum_tc(id(), "OperationMode", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/OperationMode:1.0";
}
public static OperationMode
read(org.omg.CORBA.portable.InputStream in)
{
OperationMode _ob_v;
_ob_v = OperationMode.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, OperationMode val)
{
out.write_ulong(val.value());
}
}
| 4,721 |
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_RESPONSEHelper.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_RESPONSEHelper {
public static void insert(Any any, NO_RESPONSE 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_RESPONSE 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_RESPONSE", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/NO_RESPONSE:1.0";
}
public static NO_RESPONSE read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
NO_RESPONSE val = new NO_RESPONSE();
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_RESPONSE val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,722 |
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/ValueMember.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/ValueMember:1.0
//
/***/
final public class ValueMember implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/ValueMember:1.0";
public
ValueMember()
{
}
public
ValueMember(String name,
String id,
String defined_in,
String version,
org.omg.CORBA.TypeCode type,
IDLType type_def,
short access)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.type = type;
this.type_def = type_def;
this.access = access;
}
public String name;
public String id;
public String defined_in;
public String version;
public org.omg.CORBA.TypeCode type;
public IDLType type_def;
public short access;
}
| 4,723 |
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/AbstractInterfaceDefSeqHelper.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/AbstractInterfaceDefSeq:1.0
//
final public class AbstractInterfaceDefSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, AbstractInterfaceDef[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static AbstractInterfaceDef[]
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(), "AbstractInterfaceDefSeq", orb.create_sequence_tc(0, AbstractInterfaceDefHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/AbstractInterfaceDefSeq:1.0";
}
public static AbstractInterfaceDef[]
read(org.omg.CORBA.portable.InputStream in)
{
AbstractInterfaceDef[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new AbstractInterfaceDef[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = AbstractInterfaceDefHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, AbstractInterfaceDef[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
AbstractInterfaceDefHelper.write(out, val[i0]);
}
}
| 4,724 |
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/TypedefDefHolder.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/TypedefDef:1.0
//
final public class TypedefDefHolder implements org.omg.CORBA.portable.Streamable
{
public TypedefDef value;
public
TypedefDefHolder()
{
}
public
TypedefDefHolder(TypedefDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = TypedefDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
TypedefDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return TypedefDefHelper.type();
}
}
| 4,725 |
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/INV_OBJREF.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 INV_OBJREF extends org.omg.CORBA.SystemException {
public INV_OBJREF() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public INV_OBJREF(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public INV_OBJREF(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public INV_OBJREF(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,726 |
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/AbstractInterfaceDef.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/AbstractInterfaceDef:1.0
//
/***/
public interface AbstractInterfaceDef extends AbstractInterfaceDefOperations,
InterfaceDef,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,727 |
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/IRObject.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 IRObject extends IRObjectOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,728 |
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/INV_IDENT.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 INV_IDENT extends org.omg.CORBA.SystemException {
public INV_IDENT() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public INV_IDENT(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public INV_IDENT(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public INV_IDENT(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,729 |
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_PERMISSION.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_PERMISSION extends org.omg.CORBA.SystemException {
public NO_PERMISSION() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public NO_PERMISSION(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public NO_PERMISSION(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public NO_PERMISSION(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,730 |
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/CharHolder.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 CharHolder implements org.omg.CORBA.portable.Streamable {
public char value;
public CharHolder() {
}
public CharHolder(char initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_char();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_char(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_char);
}
}
| 4,731 |
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/TRANSIENTHelper.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 TRANSIENTHelper {
public static void insert(Any any, TRANSIENT val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TRANSIENT 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(), "TRANSIENT", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TRANSIENT:1.0";
}
public static TRANSIENT read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
TRANSIENT val = new TRANSIENT();
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,
TRANSIENT val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,732 |
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/ParameterDescription.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/ParameterDescription:1.0
//
/***/
final public class ParameterDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/ParameterDescription:1.0";
public
ParameterDescription()
{
}
public
ParameterDescription(String name,
org.omg.CORBA.TypeCode type,
IDLType type_def,
ParameterMode mode)
{
this.name = name;
this.type = type;
this.type_def = type_def;
this.mode = mode;
}
public String name;
public org.omg.CORBA.TypeCode type;
public IDLType type_def;
public ParameterMode mode;
}
| 4,733 |
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/StringDef.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/StringDef:1.0
//
/***/
public interface StringDef extends StringDefOperations,
IDLType,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,734 |
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/BAD_CONTEXTHolder.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 BAD_CONTEXTHolder implements
org.omg.CORBA.portable.Streamable {
public BAD_CONTEXT value;
public BAD_CONTEXTHolder() {
}
public BAD_CONTEXTHolder(BAD_CONTEXT initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = BAD_CONTEXTHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
BAD_CONTEXTHelper.write(out, value);
}
public TypeCode _type() {
return BAD_CONTEXTHelper.type();
}
}
| 4,735 |
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/ValueDefSeqHolder.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/ValueDefSeq:1.0
//
final public class ValueDefSeqHolder implements org.omg.CORBA.portable.Streamable
{
public ValueDef[] value;
public
ValueDefSeqHolder()
{
}
public
ValueDefSeqHolder(ValueDef[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ValueDefSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ValueDefSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ValueDefSeqHelper.type();
}
}
| 4,736 |
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/ModuleDescription.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/ModuleDescription:1.0
//
/***/
final public class ModuleDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/ModuleDescription:1.0";
public
ModuleDescription()
{
}
public
ModuleDescription(String name,
String id,
String defined_in,
String version)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
}
public String name;
public String id;
public String defined_in;
public String version;
}
| 4,737 |
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/WStringSeqHelper.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/WStringSeq:1.0
//
public abstract class WStringSeqHelper
{
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(), "WStringSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_wstring)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/WStringSeq:1.0";
}
public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
String[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new String[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = in.read_wstring();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
out.write_wstring(val[i0]);
}
}
| 4,738 |
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/DoubleSeqHolder.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/DoubleSeq:1.0
//
final public class DoubleSeqHolder implements org.omg.CORBA.portable.Streamable
{
public double[] value;
public
DoubleSeqHolder()
{
}
public
DoubleSeqHolder(double[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DoubleSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DoubleSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DoubleSeqHelper.type();
}
}
| 4,739 |
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/WstringDefHelper.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/WstringDef:1.0
//
final public class WstringDefHelper
{
public static void
insert(org.omg.CORBA.Any any, WstringDef val)
{
any.insert_Object(val, type());
}
public static WstringDef
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(), "WstringDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/WstringDef:1.0";
}
public static WstringDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (WstringDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_WstringDefStub _ob_stub = new _WstringDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, WstringDef val)
{
out.write_Object(val);
}
public static WstringDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (WstringDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_WstringDefStub _ob_stub = new _WstringDefStub();
_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 WstringDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (WstringDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_WstringDefStub _ob_stub = new _WstringDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,740 |
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/AttributeDescription.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/AttributeDescription:1.0
//
/***/
final public class AttributeDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/AttributeDescription:1.0";
public
AttributeDescription()
{
}
public
AttributeDescription(String name,
String id,
String defined_in,
String version,
org.omg.CORBA.TypeCode type,
AttributeMode mode)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.type = type;
this.mode = mode;
}
public String name;
public String id;
public String defined_in;
public String version;
public org.omg.CORBA.TypeCode type;
public AttributeMode mode;
}
| 4,741 |
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/StructMemberSeqHolder.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/StructMemberSeq:1.0
//
final public class StructMemberSeqHolder implements org.omg.CORBA.portable.Streamable
{
public StructMember[] value;
public
StructMemberSeqHolder()
{
}
public
StructMemberSeqHolder(StructMember[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = StructMemberSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
StructMemberSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return StructMemberSeqHelper.type();
}
}
| 4,742 |
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/LongHolder.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 LongHolder implements org.omg.CORBA.portable.Streamable {
public long value;
public LongHolder() {
}
public LongHolder(long initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_longlong();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_longlong(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_longlong);
}
}
| 4,743 |
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/AbstractInterfaceDefOperations.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/AbstractInterfaceDef:1.0
//
/***/
public interface AbstractInterfaceDefOperations extends InterfaceDefOperations
{
}
| 4,744 |
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/AttributeDescriptionHolder.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/AttributeDescription:1.0
//
final public class AttributeDescriptionHolder implements org.omg.CORBA.portable.Streamable
{
public AttributeDescription value;
public
AttributeDescriptionHolder()
{
}
public
AttributeDescriptionHolder(AttributeDescription initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = AttributeDescriptionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
AttributeDescriptionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return AttributeDescriptionHelper.type();
}
}
| 4,745 |
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/TRANSACTION_REQUIREDHolder.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 TRANSACTION_REQUIREDHolder implements
org.omg.CORBA.portable.Streamable {
public TRANSACTION_REQUIRED value;
public TRANSACTION_REQUIREDHolder() {
}
public TRANSACTION_REQUIREDHolder(TRANSACTION_REQUIRED initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = TRANSACTION_REQUIREDHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
TRANSACTION_REQUIREDHelper.write(out, value);
}
public TypeCode _type() {
return TRANSACTION_REQUIREDHelper.type();
}
}
| 4,746 |
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/ValueDefSeqHelper.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/ValueDefSeq:1.0
//
final public class ValueDefSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, ValueDef[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ValueDef[]
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(), "ValueDefSeq", orb.create_sequence_tc(0, ValueDefHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ValueDefSeq:1.0";
}
public static ValueDef[]
read(org.omg.CORBA.portable.InputStream in)
{
ValueDef[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new ValueDef[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ValueDefHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ValueDef[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ValueDefHelper.write(out, val[i0]);
}
}
| 4,747 |
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/Policy.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 interface Policy extends PolicyOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,748 |
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/WStringSeqHolder.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/WStringSeq:1.0
//
final public class WStringSeqHolder implements org.omg.CORBA.portable.Streamable
{
public String[] value;
public
WStringSeqHolder()
{
}
public
WStringSeqHolder(String[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = WStringSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
WStringSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return WStringSeqHelper.type();
}
}
| 4,749 |
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/StructMemberSeqHelper.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/StructMemberSeq:1.0
//
final public class StructMemberSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, StructMember[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static StructMember[]
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(), "StructMemberSeq", orb.create_sequence_tc(0, StructMemberHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/StructMemberSeq:1.0";
}
public static StructMember[]
read(org.omg.CORBA.portable.InputStream in)
{
StructMember[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new StructMember[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = StructMemberHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, StructMember[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
StructMemberHelper.write(out, val[i0]);
}
}
| 4,750 |
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/DoubleSeqHelper.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/DoubleSeq:1.0
//
public abstract class DoubleSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, double[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static double[]
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(), "DoubleSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_double)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/DoubleSeq:1.0";
}
public static double[]
read(org.omg.CORBA.portable.InputStream in)
{
double[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new double[len0];
in.read_double_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, double[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_double_array(val, 0, len0);
}
}
| 4,751 |
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/WstringDefHolder.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/WstringDef:1.0
//
final public class WstringDefHolder implements org.omg.CORBA.portable.Streamable
{
public WstringDef value;
public
WstringDefHolder()
{
}
public
WstringDefHolder(WstringDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = WstringDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
WstringDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return WstringDefHelper.type();
}
}
| 4,752 |
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/LocalInterfaceDef.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/LocalInterfaceDef:1.0
//
/***/
public interface LocalInterfaceDef extends LocalInterfaceDefOperations,
InterfaceDef,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,753 |
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/PolicyManager.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/PolicyManager:1.0
//
/***/
public interface PolicyManager extends PolicyManagerOperations,
org.omg.CORBA.Object
{
}
| 4,754 |
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/AttributeDescriptionHelper.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/AttributeDescription:1.0
//
final public class AttributeDescriptionHelper
{
public static void
insert(org.omg.CORBA.Any any, AttributeDescription val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static AttributeDescription
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[6];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "id";
members[1].type = RepositoryIdHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "defined_in";
members[2].type = RepositoryIdHelper.type();
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "version";
members[3].type = VersionSpecHelper.type();
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "type";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode);
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "mode";
members[5].type = AttributeModeHelper.type();
typeCode_ = orb.create_struct_tc(id(), "AttributeDescription", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/AttributeDescription:1.0";
}
public static AttributeDescription
read(org.omg.CORBA.portable.InputStream in)
{
AttributeDescription _ob_v = new AttributeDescription();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.id = RepositoryIdHelper.read(in);
_ob_v.defined_in = RepositoryIdHelper.read(in);
_ob_v.version = VersionSpecHelper.read(in);
_ob_v.type = in.read_TypeCode();
_ob_v.mode = AttributeModeHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, AttributeDescription val)
{
IdentifierHelper.write(out, val.name);
RepositoryIdHelper.write(out, val.id);
RepositoryIdHelper.write(out, val.defined_in);
VersionSpecHelper.write(out, val.version);
out.write_TypeCode(val.type);
AttributeModeHelper.write(out, val.mode);
}
}
| 4,755 |
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/TRANSACTION_REQUIREDHelper.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 TRANSACTION_REQUIREDHelper {
public static void insert(Any any, TRANSACTION_REQUIRED val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TRANSACTION_REQUIRED 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(), "TRANSACTION_REQUIRED",
members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TRANSACTION_REQUIRED:1.0";
}
public static TRANSACTION_REQUIRED read(
org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
TRANSACTION_REQUIRED val = new TRANSACTION_REQUIRED();
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,
TRANSACTION_REQUIRED val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,756 |
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/ServiceOptionHelper.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/ServiceOption:1.0
//
final public class ServiceOptionHelper
{
public static void
insert(org.omg.CORBA.Any any, int val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static int
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(), "ServiceOption", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ServiceOption:1.0";
}
public static int
read(org.omg.CORBA.portable.InputStream in)
{
int _ob_v;
_ob_v = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, int val)
{
out.write_ulong(val);
}
}
| 4,757 |
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/BAD_PARAM.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 BAD_PARAM extends org.omg.CORBA.SystemException {
public BAD_PARAM() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public BAD_PARAM(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public BAD_PARAM(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public BAD_PARAM(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,758 |
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/AbstractInterfaceDefSeqHolder.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/AbstractInterfaceDefSeq:1.0
//
final public class AbstractInterfaceDefSeqHolder implements org.omg.CORBA.portable.Streamable
{
public AbstractInterfaceDef[] value;
public
AbstractInterfaceDefSeqHolder()
{
}
public
AbstractInterfaceDefSeqHolder(AbstractInterfaceDef[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = AbstractInterfaceDefSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
AbstractInterfaceDefSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return AbstractInterfaceDefSeqHelper.type();
}
}
| 4,759 |
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/ContextList.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 ContextList {
public abstract int count();
public abstract void add(String ctx);
public abstract String item(int index) throws Bounds;
public abstract void remove(int index) throws Bounds;
}
| 4,760 |
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/TypedefDefHelper.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/TypedefDef:1.0
//
final public class TypedefDefHelper
{
public static void
insert(org.omg.CORBA.Any any, TypedefDef val)
{
any.insert_Object(val, type());
}
public static TypedefDef
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(), "TypedefDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/TypedefDef:1.0";
}
public static TypedefDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (TypedefDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_TypedefDefStub _ob_stub = new _TypedefDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, TypedefDef val)
{
out.write_Object(val);
}
public static TypedefDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (TypedefDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_TypedefDefStub _ob_stub = new _TypedefDefStub();
_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 TypedefDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (TypedefDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_TypedefDefStub _ob_stub = new _TypedefDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,761 |
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/SecConstruction.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/SecConstruction:1.0
//
/***/
public interface SecConstruction
{
int value = (int)(11L);
}
| 4,762 |
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/DefinitionKind.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
//
/***/
public class DefinitionKind implements org.omg.CORBA.portable.IDLEntity
{
private static DefinitionKind [] values_ = new DefinitionKind[26];
private int value_;
public final static int _dk_none = 0;
public final static DefinitionKind dk_none = new DefinitionKind(_dk_none);
public final static int _dk_all = 1;
public final static DefinitionKind dk_all = new DefinitionKind(_dk_all);
public final static int _dk_Attribute = 2;
public final static DefinitionKind dk_Attribute = new DefinitionKind(_dk_Attribute);
public final static int _dk_Constant = 3;
public final static DefinitionKind dk_Constant = new DefinitionKind(_dk_Constant);
public final static int _dk_Exception = 4;
public final static DefinitionKind dk_Exception = new DefinitionKind(_dk_Exception);
public final static int _dk_Interface = 5;
public final static DefinitionKind dk_Interface = new DefinitionKind(_dk_Interface);
public final static int _dk_Module = 6;
public final static DefinitionKind dk_Module = new DefinitionKind(_dk_Module);
public final static int _dk_Operation = 7;
public final static DefinitionKind dk_Operation = new DefinitionKind(_dk_Operation);
public final static int _dk_Typedef = 8;
public final static DefinitionKind dk_Typedef = new DefinitionKind(_dk_Typedef);
public final static int _dk_Alias = 9;
public final static DefinitionKind dk_Alias = new DefinitionKind(_dk_Alias);
public final static int _dk_Struct = 10;
public final static DefinitionKind dk_Struct = new DefinitionKind(_dk_Struct);
public final static int _dk_Union = 11;
public final static DefinitionKind dk_Union = new DefinitionKind(_dk_Union);
public final static int _dk_Enum = 12;
public final static DefinitionKind dk_Enum = new DefinitionKind(_dk_Enum);
public final static int _dk_Primitive = 13;
public final static DefinitionKind dk_Primitive = new DefinitionKind(_dk_Primitive);
public final static int _dk_String = 14;
public final static DefinitionKind dk_String = new DefinitionKind(_dk_String);
public final static int _dk_Sequence = 15;
public final static DefinitionKind dk_Sequence = new DefinitionKind(_dk_Sequence);
public final static int _dk_Array = 16;
public final static DefinitionKind dk_Array = new DefinitionKind(_dk_Array);
public final static int _dk_Repository = 17;
public final static DefinitionKind dk_Repository = new DefinitionKind(_dk_Repository);
public final static int _dk_Wstring = 18;
public final static DefinitionKind dk_Wstring = new DefinitionKind(_dk_Wstring);
public final static int _dk_Fixed = 19;
public final static DefinitionKind dk_Fixed = new DefinitionKind(_dk_Fixed);
public final static int _dk_Value = 20;
public final static DefinitionKind dk_Value = new DefinitionKind(_dk_Value);
public final static int _dk_ValueBox = 21;
public final static DefinitionKind dk_ValueBox = new DefinitionKind(_dk_ValueBox);
public final static int _dk_ValueMember = 22;
public final static DefinitionKind dk_ValueMember = new DefinitionKind(_dk_ValueMember);
public final static int _dk_Native = 23;
public final static DefinitionKind dk_Native = new DefinitionKind(_dk_Native);
public final static int _dk_AbstractInterface = 24;
public final static DefinitionKind dk_AbstractInterface = new DefinitionKind(_dk_AbstractInterface);
public final static int _dk_LocalInterface = 25;
public final static DefinitionKind dk_LocalInterface = new DefinitionKind(_dk_LocalInterface);
protected
DefinitionKind(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static DefinitionKind
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,763 |
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/_SequenceDefStub.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/SequenceDef:1.0
//
public class _SequenceDefStub extends org.omg.CORBA.portable.ObjectImpl
implements SequenceDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/SequenceDef:1.0",
"IDL:omg.org/CORBA/IDLType:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = SequenceDefOperations.class;
//
// IDL:omg.org/CORBA/SequenceDef/bound:1.0
//
public int
bound()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_bound", true);
in = _invoke(out);
int _ob_r = in.read_ulong();
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("bound", _ob_opsClass);
if(_ob_so == null)
continue;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
return _ob_self.bound();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
bound(int _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_bound", true);
out.write_ulong(_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("bound", _ob_opsClass);
if(_ob_so == null)
continue;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
_ob_self.bound(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/SequenceDef/element_type:1.0
//
public org.omg.CORBA.TypeCode
element_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_element_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("element_type", _ob_opsClass);
if(_ob_so == null)
continue;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
return _ob_self.element_type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/SequenceDef/element_type_def:1.0
//
public IDLType
element_type_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_element_type_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("element_type_def", _ob_opsClass);
if(_ob_so == null)
continue;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
return _ob_self.element_type_def();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
element_type_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_element_type_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("element_type_def", _ob_opsClass);
if(_ob_so == null)
continue;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
_ob_self.element_type_def(_ob_a);
return;
}
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;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
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;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
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;
SequenceDefOperations _ob_self = (SequenceDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,764 |
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/TRANSIENTHolder.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 TRANSIENTHolder implements org.omg.CORBA.portable.Streamable {
public TRANSIENT value;
public TRANSIENTHolder() {
}
public TRANSIENTHolder(TRANSIENT initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = TRANSIENTHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
TRANSIENTHelper.write(out, value);
}
public TypeCode _type() {
return TRANSIENTHelper.type();
}
}
| 4,765 |
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/BAD_CONTEXTHelper.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 BAD_CONTEXTHelper {
public static void insert(Any any, BAD_CONTEXT val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static BAD_CONTEXT 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(), "BAD_CONTEXT", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/BAD_CONTEXT:1.0";
}
public static BAD_CONTEXT read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
BAD_CONTEXT val = new BAD_CONTEXT();
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,
BAD_CONTEXT val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,766 |
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/ExceptionDefHelper.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/ExceptionDef:1.0
//
final public class ExceptionDefHelper
{
public static void
insert(org.omg.CORBA.Any any, ExceptionDef val)
{
any.insert_Object(val, type());
}
public static ExceptionDef
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(), "ExceptionDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ExceptionDef:1.0";
}
public static ExceptionDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (ExceptionDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_ExceptionDefStub _ob_stub = new _ExceptionDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ExceptionDef val)
{
out.write_Object(val);
}
public static ExceptionDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ExceptionDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ExceptionDefStub _ob_stub = new _ExceptionDefStub();
_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 ExceptionDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (ExceptionDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ExceptionDefStub _ob_stub = new _ExceptionDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,767 |
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/IntHolder.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 IntHolder implements org.omg.CORBA.portable.Streamable {
public int value;
public IntHolder() {
}
public IntHolder(int initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_long();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_long(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_long);
}
}
| 4,768 |
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/PERSIST_STOREHolder.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 PERSIST_STOREHolder implements
org.omg.CORBA.portable.Streamable {
public PERSIST_STORE value;
public PERSIST_STOREHolder() {
}
public PERSIST_STOREHolder(PERSIST_STORE initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = PERSIST_STOREHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
PERSIST_STOREHelper.write(out, value);
}
public TypeCode _type() {
return PERSIST_STOREHelper.type();
}
}
| 4,769 |
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/ARG_IN.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 interface ARG_IN {
int value = 1;
}
| 4,770 |
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/Request.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 Request {
public abstract org.omg.CORBA.Object target();
public abstract String operation();
public abstract NVList arguments();
public abstract NamedValue result();
public abstract Environment env();
public abstract ExceptionList exceptions();
public abstract ContextList contexts();
public abstract Context ctx();
public abstract void ctx(Context c);
public abstract Any add_in_arg();
public abstract Any add_named_in_arg(String name);
public abstract Any add_inout_arg();
public abstract Any add_named_inout_arg(String name);
public abstract Any add_out_arg();
public abstract Any add_named_out_arg(String name);
public abstract void set_return_type(TypeCode tc);
public abstract Any return_value();
public abstract void invoke();
public abstract void send_oneway();
public abstract void send_deferred();
public abstract void get_response() throws org.omg.CORBA.WrongTransaction;
public abstract boolean poll_response();
}
| 4,771 |
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/PolicyTypeSeqHelper.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/PolicyTypeSeq:1.0
//
public class PolicyTypeSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, int[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static int[]
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(), "PolicyTypeSeq", orb.create_sequence_tc(0, PolicyTypeHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PolicyTypeSeq:1.0";
}
public static int[]
read(org.omg.CORBA.portable.InputStream in)
{
int[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new int[len0];
in.read_ulong_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, int[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_ulong_array(val, 0, len0);
}
}
| 4,772 |
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/OperationModeHolder.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/OperationMode:1.0
//
final public class OperationModeHolder implements org.omg.CORBA.portable.Streamable
{
public OperationMode value;
public
OperationModeHolder()
{
}
public
OperationModeHolder(OperationMode initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = OperationModeHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
OperationModeHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return OperationModeHelper.type();
}
}
| 4,773 |
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/PrimitiveDefHolder.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/PrimitiveDef:1.0
//
final public class PrimitiveDefHolder implements org.omg.CORBA.portable.Streamable
{
public PrimitiveDef value;
public
PrimitiveDefHolder()
{
}
public
PrimitiveDefHolder(PrimitiveDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PrimitiveDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PrimitiveDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PrimitiveDefHelper.type();
}
}
| 4,774 |
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/SequenceDefOperations.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/SequenceDef:1.0
//
/***/
public interface SequenceDefOperations extends IDLTypeOperations
{
//
// IDL:omg.org/CORBA/SequenceDef/bound:1.0
//
/***/
int
bound();
void
bound(int val);
//
// IDL:omg.org/CORBA/SequenceDef/element_type:1.0
//
/***/
org.omg.CORBA.TypeCode
element_type();
//
// IDL:omg.org/CORBA/SequenceDef/element_type_def:1.0
//
/***/
IDLType
element_type_def();
void
element_type_def(IDLType val);
}
| 4,775 |
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_RESPONSEHolder.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_RESPONSEHolder implements
org.omg.CORBA.portable.Streamable {
public NO_RESPONSE value;
public NO_RESPONSEHolder() {
}
public NO_RESPONSEHolder(NO_RESPONSE initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = NO_RESPONSEHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
NO_RESPONSEHelper.write(out, value);
}
public TypeCode _type() {
return NO_RESPONSEHelper.type();
}
}
| 4,776 |
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/TypeCodeHolder.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 TypeCodeHolder implements org.omg.CORBA.portable.Streamable {
public TypeCode value;
public TypeCodeHolder() {
}
public TypeCodeHolder(TypeCode initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_TypeCode();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_TypeCode(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_TypeCode);
}
}
| 4,777 |
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/PolicyErrorHelper.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/PolicyError:1.0
//
public abstract class PolicyErrorHelper
{
public static void
insert(org.omg.CORBA.Any any, PolicyError val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static PolicyError
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[1];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "reason";
members[0].type = PolicyErrorCodeHelper.type();
typeCode_ = orb.create_exception_tc(id(), "PolicyError", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PolicyError:1.0";
}
public static PolicyError
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
PolicyError _ob_v = new PolicyError();
_ob_v.reason = PolicyErrorCodeHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, PolicyError val)
{
out.write_string(id());
PolicyErrorCodeHelper.write(out, val.reason);
}
}
| 4,778 |
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/BAD_INV_ORDER.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 BAD_INV_ORDER extends org.omg.CORBA.SystemException {
public BAD_INV_ORDER() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public BAD_INV_ORDER(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public BAD_INV_ORDER(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,779 |
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/PolicyListHolder.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/PolicyList:1.0
//
final public class PolicyListHolder implements org.omg.CORBA.portable.Streamable
{
public Policy[] value;
public
PolicyListHolder()
{
}
public
PolicyListHolder(Policy[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PolicyListHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PolicyListHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PolicyListHelper.type();
}
}
| 4,780 |
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/ScopedNameHelper.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/ScopedName:1.0
//
final public class ScopedNameHelper
{
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(), "ScopedName", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ScopedName: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,781 |
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/IRObjectHelper.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
//
final public class IRObjectHelper
{
public static void
insert(org.omg.CORBA.Any any, IRObject val)
{
any.insert_Object(val, type());
}
public static IRObject
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(), "IRObject");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/IRObject:1.0";
}
public static IRObject
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (IRObject)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_IRObjectStub _ob_stub = new _IRObjectStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, IRObject val)
{
out.write_Object(val);
}
public static IRObject
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (IRObject)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_IRObjectStub _ob_stub = new _IRObjectStub();
_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 IRObject
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (IRObject)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_IRObjectStub _ob_stub = new _IRObjectStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,782 |
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/ModuleDefHolder.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
//
final public class ModuleDefHolder implements org.omg.CORBA.portable.Streamable
{
public ModuleDef value;
public
ModuleDefHolder()
{
}
public
ModuleDefHolder(ModuleDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ModuleDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ModuleDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ModuleDefHelper.type();
}
}
| 4,783 |
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/TRANSACTION_REQUIRED.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 TRANSACTION_REQUIRED extends org.omg.CORBA.SystemException {
public TRANSACTION_REQUIRED() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public TRANSACTION_REQUIRED(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public TRANSACTION_REQUIRED(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public TRANSACTION_REQUIRED(String reason, int minor,
CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,784 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableSetPackage/UnknownPollableHolder.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.PollableSetPackage;
//
// IDL:omg.org/CORBA/PollableSet/UnknownPollable:1.0
//
final public class UnknownPollableHolder implements org.omg.CORBA.portable.Streamable
{
public UnknownPollable value;
public
UnknownPollableHolder()
{
}
public
UnknownPollableHolder(UnknownPollable initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = UnknownPollableHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
UnknownPollableHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return UnknownPollableHelper.type();
}
}
| 4,785 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableSetPackage/NoPossiblePollable.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.PollableSetPackage;
//
// IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0
//
/***/
final public class NoPossiblePollable extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0";
public
NoPossiblePollable()
{
super(_ob_id);
}
public
NoPossiblePollable(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,786 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableSetPackage/UnknownPollableHelper.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.PollableSetPackage;
//
// IDL:omg.org/CORBA/PollableSet/UnknownPollable:1.0
//
final public class UnknownPollableHelper
{
public static void
insert(org.omg.CORBA.Any any, UnknownPollable val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static UnknownPollable
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(), "UnknownPollable", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PollableSet/UnknownPollable:1.0";
}
public static UnknownPollable
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
UnknownPollable _ob_v = new UnknownPollable();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, UnknownPollable val)
{
out.write_string(id());
}
}
| 4,787 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableSetPackage/UnknownPollable.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.PollableSetPackage;
//
// IDL:omg.org/CORBA/PollableSet/UnknownPollable:1.0
//
/***/
final public class UnknownPollable extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/CORBA/PollableSet/UnknownPollable:1.0";
public
UnknownPollable()
{
super(_ob_id);
}
public
UnknownPollable(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,788 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableSetPackage/NoPossiblePollableHolder.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.PollableSetPackage;
//
// IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0
//
final public class NoPossiblePollableHolder implements org.omg.CORBA.portable.Streamable
{
public NoPossiblePollable value;
public
NoPossiblePollableHolder()
{
}
public
NoPossiblePollableHolder(NoPossiblePollable initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NoPossiblePollableHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NoPossiblePollableHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NoPossiblePollableHelper.type();
}
}
| 4,789 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableSetPackage/NoPossiblePollableHelper.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.PollableSetPackage;
//
// IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0
//
final public class NoPossiblePollableHelper
{
public static void
insert(org.omg.CORBA.Any any, NoPossiblePollable val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NoPossiblePollable
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(), "NoPossiblePollable", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0";
}
public static NoPossiblePollable
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
NoPossiblePollable _ob_v = new NoPossiblePollable();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, NoPossiblePollable val)
{
out.write_string(id());
}
}
| 4,790 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/portable/BoxedValueHelper.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.portable;
public interface BoxedValueHelper {
java.io.Serializable read_value(InputStream in);
void write_value(OutputStream out, java.io.Serializable val);
java.lang.String get_id();
}
| 4,791 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/portable/StreamableValue.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.portable;
public interface StreamableValue extends Streamable, ValueBase {
}
| 4,792 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/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.portable;
abstract public class ObjectImpl implements org.omg.CORBA.Object {
private transient Delegate delegate_;
public Delegate _get_delegate() {
if (delegate_ == null)
throw new org.omg.CORBA.BAD_OPERATION();
return delegate_;
}
public void _set_delegate(Delegate delegate) {
delegate_ = delegate;
}
public abstract String[] _ids();
/**
* @deprecated Deprecated by CORBA 2.3.
*/
public org.omg.CORBA.InterfaceDef _get_interface() {
return _get_delegate().get_interface(this);
}
public org.omg.CORBA.Object _get_interface_def() {
return _get_delegate().get_interface_def(this);
}
public org.omg.CORBA.Object _duplicate() {
return _get_delegate().duplicate(this);
}
public void _release() {
_get_delegate().release(this);
}
public boolean _is_a(String repository_id) {
return _get_delegate().is_a(this, repository_id);
}
public boolean _is_equivalent(org.omg.CORBA.Object rhs) {
return _get_delegate().is_equivalent(this, rhs);
}
public boolean _non_existent() {
return _get_delegate().non_existent(this);
}
public int _hash(int maximum) {
return _get_delegate().hash(this, maximum);
}
public org.omg.CORBA.Request _request(String operation) {
return _get_delegate().request(this, operation);
}
public org.omg.CORBA.portable.OutputStream _request(String operation,
boolean responseExpected) {
return _get_delegate().request(this, operation, responseExpected);
}
public org.omg.CORBA.portable.InputStream _invoke(
org.omg.CORBA.portable.OutputStream out)
throws ApplicationException, RemarshalException {
return _get_delegate().invoke(this, out);
}
public void _releaseReply(org.omg.CORBA.portable.InputStream in) {
_get_delegate().releaseReply(this, in);
}
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
String operation, org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) {
return _get_delegate().create_request(this, ctx, operation, arg_list,
result);
}
public org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
String operation, org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) {
return _get_delegate().create_request(this, ctx, operation, arg_list,
result, exclist, ctxlist);
}
public org.omg.CORBA.Policy _get_policy(int policy_type) {
return _get_delegate().get_policy(this, policy_type);
}
public org.omg.CORBA.DomainManager[] _get_domain_managers() {
return _get_delegate().get_domain_managers(this);
}
public org.omg.CORBA.Object _set_policy_override(
org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) {
return _get_delegate().set_policy_override(this, policies, set_add);
}
public org.omg.CORBA.ORB _orb() {
return _get_delegate().orb(this);
}
public boolean _is_local() {
return _get_delegate().is_local(this);
}
public ServantObject _servant_preinvoke(String operation, Class expectedType) {
return _get_delegate().servant_preinvoke(this, operation, expectedType);
}
public void _servant_postinvoke(ServantObject servant) {
_get_delegate().servant_postinvoke(this, servant);
}
public String toString() {
if (delegate_ != null)
return delegate_.toString(this);
else
return getClass().getName() + ": no delegate set";
}
public int hashCode() {
if (delegate_ != null)
return delegate_.hashCode(this);
else
return System.identityHashCode(this);
}
public boolean equals(java.lang.Object obj) {
if (delegate_ != null)
return delegate_.equals(this, obj);
else
return (this == obj);
}
}
| 4,793 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/portable/ResponseHandler.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.portable;
public interface ResponseHandler {
OutputStream createReply();
OutputStream createExceptionReply();
}
| 4,794 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/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.portable;
public abstract class InputStream extends java.io.InputStream {
public int read() throws java.io.IOException {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.ORB orb() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public abstract boolean read_boolean();
public abstract char read_char();
public abstract char read_wchar();
public abstract byte read_octet();
public abstract short read_short();
public abstract short read_ushort();
public abstract int read_long();
public abstract int read_ulong();
public abstract long read_longlong();
public abstract long read_ulonglong();
public abstract float read_float();
public abstract double read_double();
public abstract String read_string();
public abstract String read_wstring();
public abstract void read_boolean_array(boolean[] value, int offset,
int length);
public abstract void read_char_array(char[] value, int offset, int length);
public abstract void read_wchar_array(char[] value, int offset, int length);
public abstract void read_octet_array(byte[] value, int offset, int length);
public abstract void read_short_array(short[] value, int offset, int length);
public abstract void read_ushort_array(short[] value, int offset, int length);
public abstract void read_long_array(int[] value, int offset, int length);
public abstract void read_ulong_array(int[] value, int offset, int length);
public abstract void read_longlong_array(long[] value, int offset,
int length);
public abstract void read_ulonglong_array(long[] value, int offset,
int length);
public abstract void read_float_array(float[] value, int offset, int length);
public abstract void read_double_array(double[] value, int offset,
int length);
public abstract org.omg.CORBA.Object read_Object();
public org.omg.CORBA.Object read_Object(java.lang.Class clz) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public abstract org.omg.CORBA.TypeCode read_TypeCode();
public abstract org.omg.CORBA.Any read_any();
public org.omg.CORBA.Context read_Context() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
// Note: Don't use @deprecated here
/**
* Deprecated by CORBA 2.2.
*/
public org.omg.CORBA.Principal read_Principal() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.math.BigDecimal read_fixed() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,795 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/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.portable;
public abstract class OutputStream extends java.io.OutputStream {
public void write(int value) throws java.io.IOException {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.ORB orb() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public abstract InputStream create_input_stream();
public abstract void write_boolean(boolean value);
public abstract void write_char(char value);
public abstract void write_wchar(char value);
public abstract void write_octet(byte value);
public abstract void write_short(short value);
public abstract void write_ushort(short value);
public abstract void write_long(int value);
public abstract void write_ulong(int value);
public abstract void write_longlong(long value);
public abstract void write_ulonglong(long value);
public abstract void write_float(float value);
public abstract void write_double(double value);
public abstract void write_string(String value);
public abstract void write_wstring(String value);
public abstract void write_boolean_array(boolean[] value, int offset,
int length);
public abstract void write_char_array(char[] value, int offset, int length);
public abstract void write_wchar_array(char[] value, int offset, int length);
public abstract void write_octet_array(byte[] value, int offset, int length);
public abstract void write_short_array(short[] value, int offset, int length);
public abstract void write_ushort_array(short[] value, int offset,
int length);
public abstract void write_long_array(int[] value, int offset, int length);
public abstract void write_ulong_array(int[] value, int offset, int length);
public abstract void write_longlong_array(long[] value, int offset,
int length);
public abstract void write_ulonglong_array(long[] value, int offset,
int length);
public abstract void write_float_array(float[] value, int offset, int length);
public abstract void write_double_array(double[] value, int offset,
int length);
public abstract void write_Object(org.omg.CORBA.Object value);
public abstract void write_TypeCode(org.omg.CORBA.TypeCode value);
public abstract void write_any(org.omg.CORBA.Any value);
public void write_Context(org.omg.CORBA.Context ctx,
org.omg.CORBA.ContextList contexts) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
// Note: Don't use @deprecated here
/**
* Deprecated by CORBA 2.2.
*/
public void write_Principal(org.omg.CORBA.Principal value) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void write_fixed(java.math.BigDecimal value) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
}
| 4,796 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/portable/RemarshalException.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.portable;
final public class RemarshalException extends Exception {
}
| 4,797 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/portable/ServantObject.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.portable;
public class ServantObject {
public java.lang.Object servant;
}
| 4,798 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/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.portable;
public abstract class Delegate {
/**
* @deprecated Deprecated by CORBA 2.3.
*/
public abstract org.omg.CORBA.InterfaceDef get_interface(
org.omg.CORBA.Object self);
public org.omg.CORBA.Object get_interface_def(org.omg.CORBA.Object self) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public abstract org.omg.CORBA.Object duplicate(org.omg.CORBA.Object self);
public abstract void release(org.omg.CORBA.Object self);
public abstract boolean is_a(org.omg.CORBA.Object self, String repository_id);
public abstract boolean non_existent(org.omg.CORBA.Object self);
public abstract boolean is_equivalent(org.omg.CORBA.Object self,
org.omg.CORBA.Object rhs);
public abstract int hash(org.omg.CORBA.Object self, int max);
public abstract org.omg.CORBA.Request create_request(
org.omg.CORBA.Object self, org.omg.CORBA.Context ctx,
String operation, org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result);
public abstract org.omg.CORBA.Request create_request(
org.omg.CORBA.Object self, org.omg.CORBA.Context ctx,
String operation, org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList excepts,
org.omg.CORBA.ContextList contexts);
public abstract org.omg.CORBA.Request request(org.omg.CORBA.Object self,
String operation);
public org.omg.CORBA.portable.OutputStream request(
org.omg.CORBA.Object self, String operation,
boolean responseExpected) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.portable.InputStream invoke(org.omg.CORBA.Object self,
org.omg.CORBA.portable.OutputStream out)
throws ApplicationException, RemarshalException {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void releaseReply(org.omg.CORBA.Object self,
org.omg.CORBA.portable.InputStream in) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self,
int policy_type) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.DomainManager[] get_domain_managers(
org.omg.CORBA.Object self) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object self,
org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.ORB orb(org.omg.CORBA.Object self) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public boolean is_local(org.omg.CORBA.Object self) {
return false;
}
public ServantObject servant_preinvoke(org.omg.CORBA.Object self,
String operation, Class expectedType) {
return null;
}
public void servant_postinvoke(org.omg.CORBA.Object self,
ServantObject servant) {
}
public String toString(org.omg.CORBA.Object self) {
return self.getClass().getName() + ":" + this.toString();
}
public int hashCode(org.omg.CORBA.Object self) {
return System.identityHashCode(self);
}
public boolean equals(org.omg.CORBA.Object self, java.lang.Object obj) {
return self == obj;
}
}
| 4,799 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.