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/DynamicAny/NameDynAnyPairHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/NameDynAnyPair:1.0
//
public class NameDynAnyPairHelper
{
public static void
insert(org.omg.CORBA.Any any, NameDynAnyPair val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NameDynAnyPair
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "id";
members[0].type = FieldNameHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "value";
members[1].type = DynAnyHelper.type();
typeCode_ = orb.create_struct_tc(id(), "NameDynAnyPair", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/NameDynAnyPair:1.0";
}
public static NameDynAnyPair
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, NameDynAnyPair val)
{
throw new org.omg.CORBA.MARSHAL();
}
}
| 4,100 |
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/DynamicAny/DynUnionOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynUnion:1.0
//
/***/
public interface DynUnionOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynUnion/get_discriminator:1.0
//
/***/
DynAny
get_discriminator();
//
// IDL:omg.org/DynamicAny/DynUnion/set_discriminator:1.0
//
/***/
void
set_discriminator(DynAny d)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
//
// IDL:omg.org/DynamicAny/DynUnion/set_to_default_member:1.0
//
/***/
void
set_to_default_member()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
//
// IDL:omg.org/DynamicAny/DynUnion/set_to_no_active_member:1.0
//
/***/
void
set_to_no_active_member()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
//
// IDL:omg.org/DynamicAny/DynUnion/has_no_active_member:1.0
//
/***/
boolean
has_no_active_member();
//
// IDL:omg.org/DynamicAny/DynUnion/discriminator_kind:1.0
//
/***/
org.omg.CORBA.TCKind
discriminator_kind();
//
// IDL:omg.org/DynamicAny/DynUnion/member:1.0
//
/***/
DynAny
member()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynUnion/member_name:1.0
//
/***/
String
member_name()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynUnion/member_kind:1.0
//
/***/
org.omg.CORBA.TCKind
member_kind()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynUnion/is_set_to_default_member:1.0
//
/***/
boolean
is_set_to_default_member();
}
| 4,101 |
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/DynamicAny/DynValueCommonHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValueCommon:1.0
//
final public class DynValueCommonHolder implements org.omg.CORBA.portable.Streamable
{
public DynValueCommon value;
public
DynValueCommonHolder()
{
}
public
DynValueCommonHolder(DynValueCommon initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynValueCommonHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynValueCommonHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynValueCommonHelper.type();
}
}
| 4,102 |
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/DynamicAny/NameValuePair.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/NameValuePair:1.0
//
/***/
final public class NameValuePair implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/DynamicAny/NameValuePair:1.0";
public
NameValuePair()
{
}
public
NameValuePair(String id,
org.omg.CORBA.Any value)
{
this.id = id;
this.value = value;
}
public String id;
public org.omg.CORBA.Any value;
}
| 4,103 |
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/DynamicAny/DynSequence.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynSequence:1.0
//
/***/
public interface DynSequence extends DynSequenceOperations,
DynAny
{
}
| 4,104 |
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/DynamicAny/DynValueCommon.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValueCommon:1.0
//
/***/
public interface DynValueCommon extends DynValueCommonOperations,
DynAny
{
}
| 4,105 |
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/DynamicAny/DynEnum.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynEnum:1.0
//
/***/
public interface DynEnum extends DynEnumOperations,
DynAny
{
}
| 4,106 |
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/DynamicAny/DynStructOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynStruct:1.0
//
/***/
public interface DynStructOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynStruct/current_member_name:1.0
//
/***/
String
current_member_name()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynStruct/current_member_kind:1.0
//
/***/
org.omg.CORBA.TCKind
current_member_kind()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynStruct/get_members:1.0
//
/***/
NameValuePair[]
get_members();
//
// IDL:omg.org/DynamicAny/DynStruct/set_members:1.0
//
/***/
void
set_members(NameValuePair[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynStruct/get_members_as_dyn_any:1.0
//
/***/
NameDynAnyPair[]
get_members_as_dyn_any();
//
// IDL:omg.org/DynamicAny/DynStruct/set_members_as_dyn_any:1.0
//
/***/
void
set_members_as_dyn_any(NameDynAnyPair[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
}
| 4,107 |
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/DynamicAny/DynValueBox.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValueBox:1.0
//
/***/
public interface DynValueBox extends DynValueBoxOperations,
DynValueCommon
{
}
| 4,108 |
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/DynamicAny/DynValue.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValue:1.0
//
/***/
public interface DynValue extends DynValueOperations,
DynValueCommon
{
}
| 4,109 |
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/DynamicAny/MustTruncateHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/MustTruncate:1.0
//
public class MustTruncateHelper
{
public static void
insert(org.omg.CORBA.Any any, MustTruncate val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MustTruncate
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(), "MustTruncate", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/MustTruncate:1.0";
}
public static MustTruncate
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
MustTruncate _ob_v = new MustTruncate();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, MustTruncate val)
{
out.write_string(id());
}
}
| 4,110 |
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/DynamicAny/DynFixedHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynFixed:1.0
//
public class DynFixedHelper
{
public static void
insert(org.omg.CORBA.Any any, DynFixed val)
{
any.insert_Object(val, type());
}
public static DynFixed
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_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "DynFixed");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynFixed:1.0";
}
public static DynFixed
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynFixed val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynFixed
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynFixed)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynFixed
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynFixed)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,111 |
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/DynamicAny/MustTruncateHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/MustTruncate:1.0
//
final public class MustTruncateHolder implements org.omg.CORBA.portable.Streamable
{
public MustTruncate value;
public
MustTruncateHolder()
{
}
public
MustTruncateHolder(MustTruncate initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = MustTruncateHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
MustTruncateHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return MustTruncateHelper.type();
}
}
| 4,112 |
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/DynamicAny/DynFixedHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynFixed:1.0
//
final public class DynFixedHolder implements org.omg.CORBA.portable.Streamable
{
public DynFixed value;
public
DynFixedHolder()
{
}
public
DynFixedHolder(DynFixed initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynFixedHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynFixedHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynFixedHelper.type();
}
}
| 4,113 |
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/DynamicAny/DynAnyOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAny:1.0
//
/***/
public interface DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynAny/type:1.0
//
/***/
org.omg.CORBA.TypeCode
type();
//
// IDL:omg.org/DynamicAny/DynAny/assign:1.0
//
/***/
void
assign(DynAny dyn_any)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
//
// IDL:omg.org/DynamicAny/DynAny/from_any:1.0
//
/***/
void
from_any(org.omg.CORBA.Any value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/to_any:1.0
//
/***/
org.omg.CORBA.Any
to_any();
//
// IDL:omg.org/DynamicAny/DynAny/equal:1.0
//
/***/
boolean
equal(DynAny dyn_any);
//
// IDL:omg.org/DynamicAny/DynAny/destroy:1.0
//
/***/
void
destroy();
//
// IDL:omg.org/DynamicAny/DynAny/copy:1.0
//
/***/
DynAny
copy();
//
// IDL:omg.org/DynamicAny/DynAny/insert_boolean:1.0
//
/***/
void
insert_boolean(boolean value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_octet:1.0
//
/***/
void
insert_octet(byte value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_char:1.0
//
/***/
void
insert_char(char value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_short:1.0
//
/***/
void
insert_short(short value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_ushort:1.0
//
/***/
void
insert_ushort(short value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_long:1.0
//
/***/
void
insert_long(int value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_ulong:1.0
//
/***/
void
insert_ulong(int value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_float:1.0
//
/***/
void
insert_float(float value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_double:1.0
//
/***/
void
insert_double(double value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_string:1.0
//
/***/
void
insert_string(String value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_reference:1.0
//
/***/
void
insert_reference(org.omg.CORBA.Object value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_typecode:1.0
//
/***/
void
insert_typecode(org.omg.CORBA.TypeCode value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_longlong:1.0
//
/***/
void
insert_longlong(long value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_ulonglong:1.0
//
/***/
void
insert_ulonglong(long value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_wchar:1.0
//
/***/
void
insert_wchar(char value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_wstring:1.0
//
/***/
void
insert_wstring(String value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_any:1.0
//
/***/
void
insert_any(org.omg.CORBA.Any value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_dyn_any:1.0
//
/***/
void
insert_dyn_any(DynAny value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_val:1.0
//
/***/
void
insert_val(java.io.Serializable value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_abstract:1.0
//
/***/
void
insert_abstract(java.lang.Object value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_boolean_seq:1.0
//
/***/
void
insert_boolean_seq(boolean[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_octet_seq:1.0
//
/***/
void
insert_octet_seq(byte[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_char_seq:1.0
//
/***/
void
insert_char_seq(char[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_wchar_seq:1.0
//
/***/
void
insert_wchar_seq(char[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_short_seq:1.0
//
/***/
void
insert_short_seq(short[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_ushort_seq:1.0
//
/***/
void
insert_ushort_seq(short[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_long_seq:1.0
//
/***/
void
insert_long_seq(int[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_ulong_seq:1.0
//
/***/
void
insert_ulong_seq(int[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_longlong_seq:1.0
//
/***/
void
insert_longlong_seq(long[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_ulonglong_seq:1.0
//
/***/
void
insert_ulonglong_seq(long[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_float_seq:1.0
//
/***/
void
insert_float_seq(float[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/insert_double_seq:1.0
//
/***/
void
insert_double_seq(double[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_boolean:1.0
//
/***/
boolean
get_boolean()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_octet:1.0
//
/***/
byte
get_octet()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_char:1.0
//
/***/
char
get_char()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_short:1.0
//
/***/
short
get_short()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_ushort:1.0
//
/***/
short
get_ushort()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_long:1.0
//
/***/
int
get_long()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_ulong:1.0
//
/***/
int
get_ulong()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_float:1.0
//
/***/
float
get_float()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_double:1.0
//
/***/
double
get_double()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_string:1.0
//
/***/
String
get_string()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_reference:1.0
//
/***/
org.omg.CORBA.Object
get_reference()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_typecode:1.0
//
/***/
org.omg.CORBA.TypeCode
get_typecode()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_longlong:1.0
//
/***/
long
get_longlong()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_ulonglong:1.0
//
/***/
long
get_ulonglong()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_wchar:1.0
//
/***/
char
get_wchar()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_wstring:1.0
//
/***/
String
get_wstring()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_any:1.0
//
/***/
org.omg.CORBA.Any
get_any()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_dyn_any:1.0
//
/***/
DynAny
get_dyn_any()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_val:1.0
//
/***/
java.io.Serializable
get_val()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_abstract:1.0
//
/***/
java.lang.Object
get_abstract()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_boolean_seq:1.0
//
/***/
boolean[]
get_boolean_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_octet_seq:1.0
//
/***/
byte[]
get_octet_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_char_seq:1.0
//
/***/
char[]
get_char_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_wchar_seq:1.0
//
/***/
char[]
get_wchar_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_short_seq:1.0
//
/***/
short[]
get_short_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_ushort_seq:1.0
//
/***/
short[]
get_ushort_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_long_seq:1.0
//
/***/
int[]
get_long_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_ulong_seq:1.0
//
/***/
int[]
get_ulong_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_longlong_seq:1.0
//
/***/
long[]
get_longlong_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_ulonglong_seq:1.0
//
/***/
long[]
get_ulonglong_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_float_seq:1.0
//
/***/
float[]
get_float_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/get_double_seq:1.0
//
/***/
double[]
get_double_seq()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynAny/seek:1.0
//
/***/
boolean
seek(int index);
//
// IDL:omg.org/DynamicAny/DynAny/rewind:1.0
//
/***/
void
rewind();
//
// IDL:omg.org/DynamicAny/DynAny/next:1.0
//
/***/
boolean
next();
//
// IDL:omg.org/DynamicAny/DynAny/component_count:1.0
//
/***/
int
component_count();
//
// IDL:omg.org/DynamicAny/DynAny/current_component:1.0
//
/***/
DynAny
current_component()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
}
| 4,114 |
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/DynamicAny/DynStruct.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynStruct:1.0
//
/***/
public interface DynStruct extends DynStructOperations,
DynAny
{
}
| 4,115 |
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/DynamicAny/NameValuePairHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/NameValuePair:1.0
//
final public class NameValuePairHolder implements org.omg.CORBA.portable.Streamable
{
public NameValuePair value;
public
NameValuePairHolder()
{
}
public
NameValuePairHolder(NameValuePair initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NameValuePairHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NameValuePairHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NameValuePairHelper.type();
}
}
| 4,116 |
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/DynamicAny/DynSequenceHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynSequence:1.0
//
final public class DynSequenceHolder implements org.omg.CORBA.portable.Streamable
{
public DynSequence value;
public
DynSequenceHolder()
{
}
public
DynSequenceHolder(DynSequence initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynSequenceHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynSequenceHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynSequenceHelper.type();
}
}
| 4,117 |
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/DynamicAny/DynAnyFactoryHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAnyFactory:1.0
//
public class DynAnyFactoryHelper
{
public static void
insert(org.omg.CORBA.Any any, DynAnyFactory val)
{
any.insert_Object(val, type());
}
public static DynAnyFactory
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_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "DynAnyFactory");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynAnyFactory:1.0";
}
public static DynAnyFactory
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynAnyFactory val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynAnyFactory
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynAnyFactory)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynAnyFactory
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynAnyFactory)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,118 |
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/DynamicAny/DynAnyFactoryOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAnyFactory:1.0
//
/***/
public interface DynAnyFactoryOperations
{
//
// IDL:omg.org/DynamicAny/DynAnyFactory/create_dyn_any:1.0
//
/***/
DynAny
create_dyn_any(org.omg.CORBA.Any value)
throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/create_dyn_any_from_type_code:1.0
//
/***/
DynAny
create_dyn_any_from_type_code(org.omg.CORBA.TypeCode type)
throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/create_dyn_any_without_truncation:1.0
//
/***/
DynAny
create_dyn_any_without_truncation(org.omg.CORBA.Any value)
throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode,
MustTruncate;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/create_multiple_dyn_anys:1.0
//
/***/
DynAny[]
create_multiple_dyn_anys(org.omg.CORBA.Any[] values,
boolean allow_truncate)
throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode,
MustTruncate;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/create_multiple_anys:1.0
//
/***/
org.omg.CORBA.Any[]
create_multiple_anys(DynAny[] values);
}
| 4,119 |
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/DynamicAny/DynAny.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.DynamicAny;
import java.io.Serializable;
//
// IDL:omg.org/DynamicAny/DynAny:1.0
//
/***/
public interface DynAny extends DynAnyOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,120 |
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/DynamicAny/DynAnySeqHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAnySeq:1.0
//
public class DynAnySeqHelper
{
public static void
insert(org.omg.CORBA.Any any, DynAny[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static DynAny[]
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(), "DynAnySeq", orb.create_sequence_tc(0, DynAnyHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynAnySeq:1.0";
}
public static DynAny[]
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynAny[] val)
{
throw new org.omg.CORBA.MARSHAL();
}
}
| 4,121 |
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/DynamicAny/DynAnySeqHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAnySeq:1.0
//
final public class DynAnySeqHolder implements org.omg.CORBA.portable.Streamable
{
public DynAny[] value;
public
DynAnySeqHolder()
{
}
public
DynAnySeqHolder(DynAny[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynAnySeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynAnySeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynAnySeqHelper.type();
}
}
| 4,122 |
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/DynamicAny/NameValuePairHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/NameValuePair:1.0
//
public class NameValuePairHelper
{
public static void
insert(org.omg.CORBA.Any any, NameValuePair val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NameValuePair
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "id";
members[0].type = FieldNameHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "value";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_any);
typeCode_ = orb.create_struct_tc(id(), "NameValuePair", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/NameValuePair:1.0";
}
public static NameValuePair
read(org.omg.CORBA.portable.InputStream in)
{
NameValuePair _ob_v = new NameValuePair();
_ob_v.id = FieldNameHelper.read(in);
_ob_v.value = in.read_any();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, NameValuePair val)
{
FieldNameHelper.write(out, val.id);
out.write_any(val.value);
}
}
| 4,123 |
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/DynamicAny/DynSequenceHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynSequence:1.0
//
public class DynSequenceHelper
{
public static void
insert(org.omg.CORBA.Any any, DynSequence val)
{
any.insert_Object(val, type());
}
public static DynSequence
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_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "DynSequence");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynSequence:1.0";
}
public static DynSequence
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynSequence val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynSequence
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynSequence)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynSequence
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynSequence)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,124 |
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/DynamicAny/DynAnyFactoryHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAnyFactory:1.0
//
final public class DynAnyFactoryHolder implements org.omg.CORBA.portable.Streamable
{
public DynAnyFactory value;
public
DynAnyFactoryHolder()
{
}
public
DynAnyFactoryHolder(DynAnyFactory initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynAnyFactoryHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynAnyFactoryHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynAnyFactoryHelper.type();
}
}
| 4,125 |
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/DynamicAny/DynArrayOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynArray:1.0
//
/***/
public interface DynArrayOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynArray/get_elements:1.0
//
/***/
org.omg.CORBA.Any[]
get_elements();
//
// IDL:omg.org/DynamicAny/DynArray/set_elements:1.0
//
/***/
void
set_elements(org.omg.CORBA.Any[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynArray/get_elements_as_dyn_any:1.0
//
/***/
DynAny[]
get_elements_as_dyn_any();
//
// IDL:omg.org/DynamicAny/DynArray/set_elements_as_dyn_any:1.0
//
/***/
void
set_elements_as_dyn_any(DynAny[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
}
| 4,126 |
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/DynamicAny/DynAnyHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAny:1.0
//
public class DynAnyHelper
{
public static void
insert(org.omg.CORBA.Any any, DynAny val)
{
any.insert_Object(val, type());
}
public static DynAny
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_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "DynAny");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynAny:1.0";
}
public static DynAny
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynAny val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynAny
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynAny)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynAny
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynAny)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,127 |
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/DynamicAny/DynValueOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValue:1.0
//
/***/
public interface DynValueOperations extends DynValueCommonOperations
{
//
// IDL:omg.org/DynamicAny/DynValue/current_member_name:1.0
//
/***/
String
current_member_name()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValue/current_member_kind:1.0
//
/***/
org.omg.CORBA.TCKind
current_member_kind()
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValue/get_members:1.0
//
/***/
NameValuePair[]
get_members()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValue/set_members:1.0
//
/***/
void
set_members(NameValuePair[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValue/get_members_as_dyn_any:1.0
//
/***/
NameDynAnyPair[]
get_members_as_dyn_any()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValue/set_members_as_dyn_any:1.0
//
/***/
void
set_members_as_dyn_any(NameDynAnyPair[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
}
| 4,128 |
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/DynamicAny/AnySeqHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/AnySeq:1.0
//
final public class AnySeqHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CORBA.Any[] value;
public
AnySeqHolder()
{
}
public
AnySeqHolder(org.omg.CORBA.Any[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = AnySeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
AnySeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return AnySeqHelper.type();
}
}
| 4,129 |
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/DynamicAny/DynValueBoxOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValueBox:1.0
//
/***/
public interface DynValueBoxOperations extends DynValueCommonOperations
{
//
// IDL:omg.org/DynamicAny/DynValueBox/get_boxed_value:1.0
//
/***/
org.omg.CORBA.Any
get_boxed_value()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValueBox/set_boxed_value:1.0
//
/***/
void
set_boxed_value(org.omg.CORBA.Any boxed)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValueBox/get_boxed_value_as_dyn_any:1.0
//
/***/
DynAny
get_boxed_value_as_dyn_any()
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynValueBox/set_boxed_value_as_dyn_any:1.0
//
/***/
void
set_boxed_value_as_dyn_any(DynAny boxed)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
}
| 4,130 |
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/DynamicAny/DynAnyFactory.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAnyFactory:1.0
//
/***/
public interface DynAnyFactory extends DynAnyFactoryOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,131 |
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/DynamicAny/DynStructHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynStruct:1.0
//
public class DynStructHelper
{
public static void
insert(org.omg.CORBA.Any any, DynStruct val)
{
any.insert_Object(val, type());
}
public static DynStruct
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_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "DynStruct");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynStruct:1.0";
}
public static DynStruct
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynStruct val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynStruct
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynStruct)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynStruct
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynStruct)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,132 |
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/DynamicAny/DynStructHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynStruct:1.0
//
final public class DynStructHolder implements org.omg.CORBA.portable.Streamable
{
public DynStruct value;
public
DynStructHolder()
{
}
public
DynStructHolder(DynStruct initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynStructHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynStructHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynStructHelper.type();
}
}
| 4,133 |
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/DynamicAny/AnySeqHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/AnySeq:1.0
//
public class AnySeqHelper
{
public static void
insert(org.omg.CORBA.Any any, org.omg.CORBA.Any[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static org.omg.CORBA.Any[]
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(), "AnySeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_any)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/AnySeq:1.0";
}
public static org.omg.CORBA.Any[]
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Any[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new org.omg.CORBA.Any[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = in.read_any();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, org.omg.CORBA.Any[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
out.write_any(val[i0]);
}
}
| 4,134 |
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/DynamicAny/DynUnion.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynUnion:1.0
//
/***/
public interface DynUnion extends DynUnionOperations,
DynAny
{
}
| 4,135 |
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/DynamicAny/DynAnyHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynAny:1.0
//
final public class DynAnyHolder implements org.omg.CORBA.portable.Streamable
{
public DynAny value;
public
DynAnyHolder()
{
}
public
DynAnyHolder(DynAny initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynAnyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynAnyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynAnyHelper.type();
}
}
| 4,136 |
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/DynamicAny/DynSequenceOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynSequence:1.0
//
/***/
public interface DynSequenceOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynSequence/get_length:1.0
//
/***/
int
get_length();
//
// IDL:omg.org/DynamicAny/DynSequence/set_length:1.0
//
/***/
void
set_length(int len)
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynSequence/get_elements:1.0
//
/***/
org.omg.CORBA.Any[]
get_elements();
//
// IDL:omg.org/DynamicAny/DynSequence/set_elements:1.0
//
/***/
void
set_elements(org.omg.CORBA.Any[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynSequence/get_elements_as_dyn_any:1.0
//
/***/
DynAny[]
get_elements_as_dyn_any();
//
// IDL:omg.org/DynamicAny/DynSequence/set_elements_as_dyn_any:1.0
//
/***/
void
set_elements_as_dyn_any(DynAny[] value)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
}
| 4,137 |
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/DynamicAny/DynValueHolder.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValue:1.0
//
final public class DynValueHolder implements org.omg.CORBA.portable.Streamable
{
public DynValue value;
public
DynValueHolder()
{
}
public
DynValueHolder(DynValue initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynValueHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynValueHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynValueHelper.type();
}
}
| 4,138 |
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/DynamicAny/DynValueHelper.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValue:1.0
//
public class DynValueHelper
{
public static void
insert(org.omg.CORBA.Any any, DynValue val)
{
any.insert_Object(val, type());
}
public static DynValue
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_ = ((org.omg.CORBA_2_4.ORB)orb).create_local_interface_tc(id(), "DynValue");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynValue:1.0";
}
public static DynValue
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynValue val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynValue
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynValue)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynValue
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynValue)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,139 |
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/DynamicAny/DynValueCommonOperations.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/DynValueCommon:1.0
//
/***/
public interface DynValueCommonOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynValueCommon/is_null:1.0
//
/***/
boolean
is_null();
//
// IDL:omg.org/DynamicAny/DynValueCommon/set_to_null:1.0
//
/***/
void
set_to_null();
//
// IDL:omg.org/DynamicAny/DynValueCommon/set_to_value:1.0
//
/***/
void
set_to_value();
}
| 4,140 |
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/DynamicAny/NameDynAnyPair.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.DynamicAny;
//
// IDL:omg.org/DynamicAny/NameDynAnyPair:1.0
//
/***/
final public class NameDynAnyPair implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/DynamicAny/NameDynAnyPair:1.0";
public
NameDynAnyPair()
{
}
public
NameDynAnyPair(String id,
DynAny value)
{
this.id = id;
this.value = value;
}
public String id;
public DynAny value;
}
| 4,141 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.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.DynamicAny.DynAnyFactoryPackage;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/InconsistentTypeCode:1.0
//
/***/
final public class InconsistentTypeCode extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/DynamicAny/DynAnyFactory/InconsistentTypeCode:1.0";
public
InconsistentTypeCode()
{
super(_ob_id);
}
public
InconsistentTypeCode(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,142 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.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.DynamicAny.DynAnyFactoryPackage;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/InconsistentTypeCode:1.0
//
public class InconsistentTypeCodeHelper
{
public static void
insert(org.omg.CORBA.Any any, InconsistentTypeCode val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static InconsistentTypeCode
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(), "InconsistentTypeCode", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynAnyFactory/InconsistentTypeCode:1.0";
}
public static InconsistentTypeCode
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
InconsistentTypeCode _ob_v = new InconsistentTypeCode();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, InconsistentTypeCode val)
{
out.write_string(id());
}
}
| 4,143 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.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.DynamicAny.DynAnyFactoryPackage;
//
// IDL:omg.org/DynamicAny/DynAnyFactory/InconsistentTypeCode:1.0
//
final public class InconsistentTypeCodeHolder implements org.omg.CORBA.portable.Streamable
{
public InconsistentTypeCode value;
public
InconsistentTypeCodeHolder()
{
}
public
InconsistentTypeCodeHolder(InconsistentTypeCode initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = InconsistentTypeCodeHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
InconsistentTypeCodeHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return InconsistentTypeCodeHelper.type();
}
}
| 4,144 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyPackage/InvalidValue.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.DynamicAny.DynAnyPackage;
//
// IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0
//
/***/
final public class InvalidValue extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0";
public
InvalidValue()
{
super(_ob_id);
}
public
InvalidValue(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,145 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.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.DynamicAny.DynAnyPackage;
//
// IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0
//
final public class TypeMismatchHolder implements org.omg.CORBA.portable.Streamable
{
public TypeMismatch value;
public
TypeMismatchHolder()
{
}
public
TypeMismatchHolder(TypeMismatch initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = TypeMismatchHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
TypeMismatchHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return TypeMismatchHelper.type();
}
}
| 4,146 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.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.DynamicAny.DynAnyPackage;
//
// IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0
//
public class InvalidValueHelper
{
public static void
insert(org.omg.CORBA.Any any, InvalidValue val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static InvalidValue
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(), "InvalidValue", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0";
}
public static InvalidValue
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
InvalidValue _ob_v = new InvalidValue();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, InvalidValue val)
{
out.write_string(id());
}
}
| 4,147 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.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.DynamicAny.DynAnyPackage;
//
// IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0
//
final public class InvalidValueHolder implements org.omg.CORBA.portable.Streamable
{
public InvalidValue value;
public
InvalidValueHolder()
{
}
public
InvalidValueHolder(InvalidValue initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = InvalidValueHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
InvalidValueHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return InvalidValueHelper.type();
}
}
| 4,148 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.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.DynamicAny.DynAnyPackage;
//
// IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0
//
public class TypeMismatchHelper
{
public static void
insert(org.omg.CORBA.Any any, TypeMismatch val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TypeMismatch
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(), "TypeMismatch", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0";
}
public static TypeMismatch
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
TypeMismatch _ob_v = new TypeMismatch();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, TypeMismatch val)
{
out.write_string(id());
}
}
| 4,149 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/DynamicAny/DynAnyPackage/TypeMismatch.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.DynamicAny.DynAnyPackage;
//
// IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0
//
/***/
final public class TypeMismatch extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0";
public
TypeMismatch()
{
super(_ob_id);
}
public
TypeMismatch(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,150 |
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/CONV_FRAME/CodeSetComponentInfo.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetComponentInfo:1.0
//
/***/
final public class CodeSetComponentInfo implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CONV_FRAME/CodeSetComponentInfo:1.0";
public
CodeSetComponentInfo()
{
}
public
CodeSetComponentInfo(CodeSetComponent ForCharData,
CodeSetComponent ForWcharData)
{
this.ForCharData = ForCharData;
this.ForWcharData = ForWcharData;
}
public CodeSetComponent ForCharData;
public CodeSetComponent ForWcharData;
}
| 4,151 |
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/CONV_FRAME/CodeSetIdHelper.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetId:1.0
//
final public class CodeSetIdHelper
{
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(), "CodeSetId", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CONV_FRAME/CodeSetId: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,152 |
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/CONV_FRAME/CodeSetContextHolder.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetContext:1.0
//
final public class CodeSetContextHolder implements org.omg.CORBA.portable.Streamable
{
public CodeSetContext value;
public
CodeSetContextHolder()
{
}
public
CodeSetContextHolder(CodeSetContext initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = CodeSetContextHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
CodeSetContextHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return CodeSetContextHelper.type();
}
}
| 4,153 |
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/CONV_FRAME/CodeSetContextHelper.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetContext:1.0
//
final public class CodeSetContextHelper
{
public static void
insert(org.omg.CORBA.Any any, CodeSetContext val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static CodeSetContext
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "char_data";
members[0].type = CodeSetIdHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "wchar_data";
members[1].type = CodeSetIdHelper.type();
typeCode_ = orb.create_struct_tc(id(), "CodeSetContext", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CONV_FRAME/CodeSetContext:1.0";
}
public static CodeSetContext
read(org.omg.CORBA.portable.InputStream in)
{
CodeSetContext _ob_v = new CodeSetContext();
_ob_v.char_data = CodeSetIdHelper.read(in);
_ob_v.wchar_data = CodeSetIdHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, CodeSetContext val)
{
CodeSetIdHelper.write(out, val.char_data);
CodeSetIdHelper.write(out, val.wchar_data);
}
}
| 4,154 |
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/CONV_FRAME/CodeSetContext.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetContext:1.0
//
/***/
final public class CodeSetContext implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CONV_FRAME/CodeSetContext:1.0";
public
CodeSetContext()
{
}
public
CodeSetContext(int char_data,
int wchar_data)
{
this.char_data = char_data;
this.wchar_data = wchar_data;
}
public int char_data;
public int wchar_data;
}
| 4,155 |
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/CONV_FRAME/CodeSetComponent.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetComponent:1.0
//
/***/
final public class CodeSetComponent implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CONV_FRAME/CodeSetComponent:1.0";
public
CodeSetComponent()
{
}
public
CodeSetComponent(int native_code_set,
int[] conversion_code_sets)
{
this.native_code_set = native_code_set;
this.conversion_code_sets = conversion_code_sets;
}
public int native_code_set;
public int[] conversion_code_sets;
}
| 4,156 |
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/CONV_FRAME/CodeSetComponentHelper.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetComponent:1.0
//
final public class CodeSetComponentHelper
{
public static void
insert(org.omg.CORBA.Any any, CodeSetComponent val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static CodeSetComponent
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "native_code_set";
members[0].type = CodeSetIdHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "conversion_code_sets";
members[1].type = orb.create_sequence_tc(0, CodeSetIdHelper.type());
typeCode_ = orb.create_struct_tc(id(), "CodeSetComponent", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CONV_FRAME/CodeSetComponent:1.0";
}
public static CodeSetComponent
read(org.omg.CORBA.portable.InputStream in)
{
CodeSetComponent _ob_v = new CodeSetComponent();
_ob_v.native_code_set = CodeSetIdHelper.read(in);
int len0 = in.read_ulong();
_ob_v.conversion_code_sets = new int[len0];
in.read_ulong_array(_ob_v.conversion_code_sets, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, CodeSetComponent val)
{
CodeSetIdHelper.write(out, val.native_code_set);
int len0 = val.conversion_code_sets.length;
out.write_ulong(len0);
out.write_ulong_array(val.conversion_code_sets, 0, len0);
}
}
| 4,157 |
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/CONV_FRAME/CodeSetComponentInfoHelper.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetComponentInfo:1.0
//
final public class CodeSetComponentInfoHelper
{
public static void
insert(org.omg.CORBA.Any any, CodeSetComponentInfo val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static CodeSetComponentInfo
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "ForCharData";
members[0].type = CodeSetComponentHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "ForWcharData";
members[1].type = CodeSetComponentHelper.type();
typeCode_ = orb.create_struct_tc(id(), "CodeSetComponentInfo", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CONV_FRAME/CodeSetComponentInfo:1.0";
}
public static CodeSetComponentInfo
read(org.omg.CORBA.portable.InputStream in)
{
CodeSetComponentInfo _ob_v = new CodeSetComponentInfo();
_ob_v.ForCharData = CodeSetComponentHelper.read(in);
_ob_v.ForWcharData = CodeSetComponentHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, CodeSetComponentInfo val)
{
CodeSetComponentHelper.write(out, val.ForCharData);
CodeSetComponentHelper.write(out, val.ForWcharData);
}
}
| 4,158 |
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/CONV_FRAME/CodeSetComponentInfoHolder.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetComponentInfo:1.0
//
final public class CodeSetComponentInfoHolder implements org.omg.CORBA.portable.Streamable
{
public CodeSetComponentInfo value;
public
CodeSetComponentInfoHolder()
{
}
public
CodeSetComponentInfoHolder(CodeSetComponentInfo initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = CodeSetComponentInfoHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
CodeSetComponentInfoHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return CodeSetComponentInfoHelper.type();
}
}
| 4,159 |
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/CONV_FRAME/CodeSetComponentHolder.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.CONV_FRAME;
//
// IDL:omg.org/CONV_FRAME/CodeSetComponent:1.0
//
final public class CodeSetComponentHolder implements org.omg.CORBA.portable.Streamable
{
public CodeSetComponent value;
public
CodeSetComponentHolder()
{
}
public
CodeSetComponentHolder(CodeSetComponent initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = CodeSetComponentHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
CodeSetComponentHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return CodeSetComponentHelper.type();
}
}
| 4,160 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/LimitedPing.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/LimitedPing:1.0
//
/***/
public abstract class LimitedPing extends UnlimitedPing
{
//
// IDL:omg.org/MessageRouting/LimitedPing/interval_limit:1.0
//
/***/
public int interval_limit;
private static String[] _OB_truncatableIds_ =
{
LimitedPingHelper.id()
};
public String[]
_truncatable_ids()
{
return _OB_truncatableIds_;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
super._read(in);
interval_limit = in.read_ulong();
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
super._write(out);
out.write_ulong(interval_limit);
}
public org.omg.CORBA.TypeCode
_type()
{
return LimitedPingHelper.type();
}
}
| 4,161 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestMessage.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestMessage:1.0
//
/***/
final public class RequestMessage implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/MessageRouting/RequestMessage:1.0";
public
RequestMessage()
{
}
public
RequestMessage(org.omg.GIOP.Version giop_version,
org.omg.IOP.ServiceContext[] service_contexts,
byte response_flags,
byte[] reserved,
byte[] object_key,
String operation,
MessageBody body)
{
this.giop_version = giop_version;
this.service_contexts = service_contexts;
this.response_flags = response_flags;
this.reserved = reserved;
this.object_key = object_key;
this.operation = operation;
this.body = body;
}
public org.omg.GIOP.Version giop_version;
public org.omg.IOP.ServiceContext[] service_contexts;
public byte response_flags;
public byte[] reserved;
public byte[] object_key;
public String operation;
public MessageBody body;
}
| 4,162 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/MessageBodyHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/MessageBody:1.0
//
final public class MessageBodyHelper
{
public static void
insert(org.omg.CORBA.Any any, MessageBody val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MessageBody
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "body";
members[0].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "byte_order";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean);
typeCode_ = orb.create_struct_tc(id(), "MessageBody", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/MessageBody:1.0";
}
public static MessageBody
read(org.omg.CORBA.portable.InputStream in)
{
MessageBody _ob_v = new MessageBody();
int len0 = in.read_ulong();
_ob_v.body = new byte[len0];
in.read_octet_array(_ob_v.body, 0, len0);
_ob_v.byte_order = in.read_boolean();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, MessageBody val)
{
int len0 = val.body.length;
out.write_ulong(len0);
out.write_octet_array(val.body, 0, len0);
out.write_boolean(val.byte_order);
}
}
| 4,163 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UnlimitedPingHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UnlimitedPing:1.0
//
final public class UnlimitedPingHelper
{
public static void
insert(org.omg.CORBA.Any any, UnlimitedPing val)
{
any.insert_Value(val, type());
}
public static UnlimitedPing
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof UnlimitedPing)
return (UnlimitedPing)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[3];
members[0] = new org.omg.CORBA.ValueMember();
members[0].name = "max_backoffs";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_short);
members[0].access = org.omg.CORBA.PUBLIC_MEMBER.value;
members[1] = new org.omg.CORBA.ValueMember();
members[1].name = "backoff_factor";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_float);
members[1].access = org.omg.CORBA.PUBLIC_MEMBER.value;
members[2] = new org.omg.CORBA.ValueMember();
members[2].name = "base_interval_seconds";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[2].access = org.omg.CORBA.PUBLIC_MEMBER.value;
org.omg.CORBA.TypeCode baseType = RetryPolicyHelper.type();
typeCode_ = orb.create_value_tc(id(), "UnlimitedPing", org.omg.CORBA.VM_NONE.value, baseType, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/UnlimitedPing:1.0";
}
public static UnlimitedPing
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (UnlimitedPing)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, UnlimitedPing val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,164 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/NOT_REGISTERED.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/NOT_REGISTERED:1.0
//
/***/
public interface NOT_REGISTERED
{
short value = (short)(0L);
}
| 4,165 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterAdminOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterAdmin:1.0
//
/***/
public interface RouterAdminOperations
{
//
// IDL:omg.org/MessageRouting/RouterAdmin/register_destination:1.0
//
/***/
void
register_destination(org.omg.CORBA.Object dest,
boolean is_router,
RetryPolicy retry,
DecayPolicy decay);
//
// IDL:omg.org/MessageRouting/RouterAdmin/suspend_destination:1.0
//
/***/
void
suspend_destination(org.omg.CORBA.Object dest,
ResumePolicy resumption)
throws InvalidState;
//
// IDL:omg.org/MessageRouting/RouterAdmin/resume_destination:1.0
//
/***/
void
resume_destination(org.omg.CORBA.Object dest)
throws InvalidState;
//
// IDL:omg.org/MessageRouting/RouterAdmin/unregister_destination:1.0
//
/***/
void
unregister_destination(org.omg.CORBA.Object dest)
throws InvalidState;
}
| 4,166 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UNLIMITED_PING_POLICY_TYPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UNLIMITED_PING_POLICY_TYPE:1.0
//
/***/
public interface UNLIMITED_PING_POLICY_TYPE
{
int value = (int)(51L);
}
| 4,167 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/MessageBodyHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/MessageBody:1.0
//
final public class MessageBodyHolder implements org.omg.CORBA.portable.Streamable
{
public MessageBody value;
public
MessageBodyHolder()
{
}
public
MessageBodyHolder(MessageBody initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = MessageBodyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
MessageBodyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return MessageBodyHelper.type();
}
}
| 4,168 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UnlimitedPingHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UnlimitedPing:1.0
//
final public class UnlimitedPingHolder implements org.omg.CORBA.portable.Streamable
{
public UnlimitedPing value;
public
UnlimitedPingHolder()
{
}
public
UnlimitedPingHolder(UnlimitedPing initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = UnlimitedPingHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
UnlimitedPingHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return UnlimitedPingHelper.type();
}
}
| 4,169 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UntypedReplyHandlerPOA.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0
//
public abstract class UntypedReplyHandlerPOA
extends org.omg.PortableServer.Servant
implements org.omg.CORBA.portable.InvokeHandler,
UntypedReplyHandlerOperations
{
static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0",
"IDL:omg.org/Messaging/ReplyHandler:1.0"
};
public UntypedReplyHandler
_this()
{
return UntypedReplyHandlerHelper.narrow(super._this_object());
}
public UntypedReplyHandler
_this(org.omg.CORBA.ORB orb)
{
return UntypedReplyHandlerHelper.narrow(super._this_object(orb));
}
public String[]
_all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
{
return _ob_ids_;
}
public org.omg.CORBA.portable.OutputStream
_invoke(String opName,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
final String[] _ob_names =
{
"reply"
};
int _ob_left = 0;
int _ob_right = _ob_names.length;
int _ob_index = -1;
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(opName);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
if(_ob_index == -1 && opName.charAt(0) == '_')
{
_ob_left = 0;
_ob_right = _ob_names.length;
String _ob_ami_op =
opName.substring(1);
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(_ob_ami_op);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
}
switch(_ob_index)
{
case 0: // reply
return _OB_op_reply(in, handler);
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private org.omg.CORBA.portable.OutputStream
_OB_op_reply(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
String _ob_a0 = in.read_string();
org.omg.GIOP.ReplyStatusType_1_2 _ob_a1 = org.omg.GIOP.ReplyStatusType_1_2Helper.read(in);
MessageBody _ob_a2 = MessageBodyHelper.read(in);
reply(_ob_a0, _ob_a1, _ob_a2);
out = handler.createReply();
return out;
}
}
| 4,170 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/_PersistentRequestRouterStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0
//
public class _PersistentRequestRouterStub extends org.omg.CORBA.portable.ObjectImpl
implements PersistentRequestRouter
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0",
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = PersistentRequestRouterOperations.class;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter/create_persistent_request:1.0
//
public PersistentRequest
create_persistent_request(short _ob_a0,
Router[] _ob_a1,
org.omg.CORBA.Object _ob_a2,
org.omg.CORBA.Policy[] _ob_a3,
RequestMessage _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_persistent_request", true);
out.write_ushort(_ob_a0);
RouterListHelper.write(out, _ob_a1);
out.write_Object(_ob_a2);
org.omg.CORBA.PolicyListHelper.write(out, _ob_a3);
RequestMessageHelper.write(out, _ob_a4);
in = _invoke(out);
PersistentRequest _ob_r = PersistentRequestHelper.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_persistent_request", _ob_opsClass);
if(_ob_so == null)
continue;
PersistentRequestRouterOperations _ob_self = (PersistentRequestRouterOperations)_ob_so.servant;
try
{
return _ob_self.create_persistent_request(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,171 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterAdmin.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterAdmin:1.0
//
/***/
public interface RouterAdmin extends RouterAdminOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,172 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterListHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterList:1.0
//
final public class RouterListHolder implements org.omg.CORBA.portable.Streamable
{
public Router[] value;
public
RouterListHolder()
{
}
public
RouterListHolder(Router[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RouterListHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RouterListHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RouterListHelper.type();
}
}
| 4,173 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequest:1.0
//
final public class PersistentRequestHolder implements org.omg.CORBA.portable.Streamable
{
public PersistentRequest value;
public
PersistentRequestHolder()
{
}
public
PersistentRequestHolder(PersistentRequest initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PersistentRequestHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PersistentRequestHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PersistentRequestHelper.type();
}
}
| 4,174 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RetryPolicyHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RetryPolicy:1.0
//
final public class RetryPolicyHolder implements org.omg.CORBA.portable.Streamable
{
public RetryPolicy value;
public
RetryPolicyHolder()
{
}
public
RetryPolicyHolder(RetryPolicy initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RetryPolicyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RetryPolicyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RetryPolicyHelper.type();
}
}
| 4,175 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ResumePolicyHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ResumePolicy:1.0
//
final public class ResumePolicyHolder implements org.omg.CORBA.portable.Streamable
{
public ResumePolicy value;
public
ResumePolicyHolder()
{
}
public
ResumePolicyHolder(ResumePolicy initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ResumePolicyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ResumePolicyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ResumePolicyHelper.type();
}
}
| 4,176 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequest:1.0
//
/***/
public interface PersistentRequest extends PersistentRequestOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,177 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestPOA.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequest:1.0
//
public abstract class PersistentRequestPOA
extends org.omg.PortableServer.Servant
implements org.omg.CORBA.portable.InvokeHandler,
PersistentRequestOperations
{
static final String[] _ob_ids_ =
{
"IDL:omg.org/MessageRouting/PersistentRequest:1.0",
};
public PersistentRequest
_this()
{
return PersistentRequestHelper.narrow(super._this_object());
}
public PersistentRequest
_this(org.omg.CORBA.ORB orb)
{
return PersistentRequestHelper.narrow(super._this_object(orb));
}
public String[]
_all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
{
return _ob_ids_;
}
public org.omg.CORBA.portable.OutputStream
_invoke(String opName,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
final String[] _ob_names =
{
"_get_associated_handler",
"_get_reply_available",
"_set_associated_handler",
"get_reply"
};
int _ob_left = 0;
int _ob_right = _ob_names.length;
int _ob_index = -1;
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(opName);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
if(_ob_index == -1 && opName.charAt(0) == '_')
{
_ob_left = 0;
_ob_right = _ob_names.length;
String _ob_ami_op =
opName.substring(1);
while(_ob_left < _ob_right)
{
int _ob_m = (_ob_left + _ob_right) / 2;
int _ob_res = _ob_names[_ob_m].compareTo(_ob_ami_op);
if(_ob_res == 0)
{
_ob_index = _ob_m;
break;
}
else if(_ob_res > 0)
_ob_right = _ob_m;
else
_ob_left = _ob_m + 1;
}
}
switch(_ob_index)
{
case 0: // _get_associated_handler
return _OB_att_get_associated_handler(in, handler);
case 1: // _get_reply_available
return _OB_att_get_reply_available(in, handler);
case 2: // _set_associated_handler
return _OB_att_set_associated_handler(in, handler);
case 3: // get_reply
return _OB_op_get_reply(in, handler);
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private org.omg.CORBA.portable.OutputStream
_OB_att_get_associated_handler(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.Messaging.ReplyHandler _ob_r = associated_handler();
org.omg.CORBA.portable.OutputStream out = handler.createReply();
org.omg.Messaging.ReplyHandlerHelper.write(out, _ob_r);
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_att_get_reply_available(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
boolean _ob_r = reply_available();
org.omg.CORBA.portable.OutputStream out = handler.createReply();
out.write_boolean(_ob_r);
return out;
}
private org.omg.CORBA.portable.OutputStream
_OB_att_set_associated_handler(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.Messaging.ReplyHandler _ob_a = org.omg.Messaging.ReplyHandlerHelper.read(in);
associated_handler(_ob_a);
return handler.createReply();
}
private org.omg.CORBA.portable.OutputStream
_OB_op_get_reply(org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler handler)
{
org.omg.CORBA.portable.OutputStream out = null;
try
{
boolean _ob_a0 = in.read_boolean();
int _ob_a1 = in.read_ulong();
MessageBodyHolder _ob_ah2 = new MessageBodyHolder();
org.omg.GIOP.ReplyStatusType_1_2 _ob_r = get_reply(_ob_a0, _ob_a1, _ob_ah2);
out = handler.createReply();
org.omg.GIOP.ReplyStatusType_1_2Helper.write(out, _ob_r);
MessageBodyHelper.write(out, _ob_ah2.value);
}
catch(ReplyNotAvailable _ob_ex)
{
out = handler.createExceptionReply();
ReplyNotAvailableHelper.write(out, _ob_ex);
}
return out;
}
}
| 4,178 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UntypedReplyHandlerHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0
//
final public class UntypedReplyHandlerHelper
{
public static void
insert(org.omg.CORBA.Any any, UntypedReplyHandler val)
{
any.insert_Object(val, type());
}
public static UntypedReplyHandler
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(), "UntypedReplyHandler");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0";
}
public static UntypedReplyHandler
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (UntypedReplyHandler)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_UntypedReplyHandlerStub _ob_stub = new _UntypedReplyHandlerStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, UntypedReplyHandler val)
{
out.write_Object(val);
}
public static UntypedReplyHandler
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (UntypedReplyHandler)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_UntypedReplyHandlerStub _ob_stub = new _UntypedReplyHandlerStub();
_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 UntypedReplyHandler
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (UntypedReplyHandler)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_UntypedReplyHandlerStub _ob_stub = new _UntypedReplyHandlerStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,179 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/InvalidStateHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/InvalidState:1.0
//
final public class InvalidStateHolder implements org.omg.CORBA.portable.Streamable
{
public InvalidState value;
public
InvalidStateHolder()
{
}
public
InvalidStateHolder(InvalidState initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = InvalidStateHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
InvalidStateHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return InvalidStateHelper.type();
}
}
| 4,180 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/Router.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/Router:1.0
//
/***/
public interface Router extends RouterOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,181 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/UntypedReplyHandlerHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/UntypedReplyHandler:1.0
//
final public class UntypedReplyHandlerHolder implements org.omg.CORBA.portable.Streamable
{
public UntypedReplyHandler value;
public
UntypedReplyHandlerHolder()
{
}
public
UntypedReplyHandlerHolder(UntypedReplyHandler initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = UntypedReplyHandlerHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
UntypedReplyHandlerHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return UntypedReplyHandlerHelper.type();
}
}
| 4,182 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequest:1.0
//
/***/
public interface PersistentRequestOperations
{
//
// IDL:omg.org/MessageRouting/PersistentRequest/reply_available:1.0
//
/***/
boolean
reply_available();
//
// IDL:omg.org/MessageRouting/PersistentRequest/get_reply:1.0
//
/***/
org.omg.GIOP.ReplyStatusType_1_2
get_reply(boolean blocking,
int timeout,
MessageBodyHolder reply_body)
throws ReplyNotAvailable;
//
// IDL:omg.org/MessageRouting/PersistentRequest/associated_handler:1.0
//
/***/
org.omg.Messaging.ReplyHandler
associated_handler();
void
associated_handler(org.omg.Messaging.ReplyHandler val);
}
| 4,183 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/InvalidStateHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/InvalidState:1.0
//
final public class InvalidStateHelper
{
public static void
insert(org.omg.CORBA.Any any, InvalidState val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static InvalidState
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 = "registration_state";
members[0].type = RegistrationStateHelper.type();
typeCode_ = orb.create_exception_tc(id(), "InvalidState", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/InvalidState:1.0";
}
public static InvalidState
read(org.omg.CORBA.portable.InputStream in)
{
if(!id().equals(in.read_string()))
throw new org.omg.CORBA.MARSHAL();
InvalidState _ob_v = new InvalidState();
_ob_v.registration_state = RegistrationStateHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, InvalidState val)
{
out.write_string(id());
RegistrationStateHelper.write(out, val.registration_state);
}
}
| 4,184 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RetryPolicyHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RetryPolicy:1.0
//
final public class RetryPolicyHelper
{
public static void
insert(org.omg.CORBA.Any any, RetryPolicy val)
{
any.insert_Value(val, type());
}
public static RetryPolicy
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof RetryPolicy)
return (RetryPolicy)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0];
typeCode_ = orb.create_value_tc(id(), "RetryPolicy", org.omg.CORBA.VM_NONE.value, null, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RetryPolicy:1.0";
}
public static RetryPolicy
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (RetryPolicy)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RetryPolicy val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,185 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ResumePolicyHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ResumePolicy:1.0
//
final public class ResumePolicyHelper
{
public static void
insert(org.omg.CORBA.Any any, ResumePolicy val)
{
any.insert_Value(val, type());
}
public static ResumePolicy
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
{
java.io.Serializable _ob_v = any.extract_Value();
if(_ob_v == null || _ob_v instanceof ResumePolicy)
return (ResumePolicy)_ob_v;
}
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[1];
members[0] = new org.omg.CORBA.ValueMember();
members[0].name = "resume_seconds";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[0].access = org.omg.CORBA.PUBLIC_MEMBER.value;
typeCode_ = orb.create_value_tc(id(), "ResumePolicy", org.omg.CORBA.VM_NONE.value, null, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/ResumePolicy:1.0";
}
public static ResumePolicy
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (ResumePolicy)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ResumePolicy val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,186 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequest:1.0
//
final public class PersistentRequestHelper
{
public static void
insert(org.omg.CORBA.Any any, PersistentRequest val)
{
any.insert_Object(val, type());
}
public static PersistentRequest
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(), "PersistentRequest");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/PersistentRequest:1.0";
}
public static PersistentRequest
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (PersistentRequest)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_PersistentRequestStub _ob_stub = new _PersistentRequestStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, PersistentRequest val)
{
out.write_Object(val);
}
public static PersistentRequest
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (PersistentRequest)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_PersistentRequestStub _ob_stub = new _PersistentRequestStub();
_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 PersistentRequest
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (PersistentRequest)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_PersistentRequestStub _ob_stub = new _PersistentRequestStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,187 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/PersistentRequestRouter.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/PersistentRequestRouter:1.0
//
/***/
public interface PersistentRequestRouter extends PersistentRequestRouterOperations,
org.omg.CORBA.Object,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,188 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/Router:1.0
//
/***/
public interface RouterOperations
{
//
// IDL:omg.org/MessageRouting/Router/send_request:1.0
//
/***/
void
send_request(RequestInfo req);
//
// IDL:omg.org/MessageRouting/Router/send_multiple_requests:1.0
//
/***/
void
send_multiple_requests(RequestInfo[] reqSeq);
//
// IDL:omg.org/MessageRouting/Router/admin:1.0
//
/***/
RouterAdmin
admin();
}
| 4,189 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterListHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterList:1.0
//
final public class RouterListHelper
{
public static void
insert(org.omg.CORBA.Any any, Router[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Router[]
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(), "RouterList", orb.create_sequence_tc(0, RouterHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RouterList:1.0";
}
public static Router[]
read(org.omg.CORBA.portable.InputStream in)
{
Router[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new Router[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = RouterHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Router[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
RouterHelper.write(out, val[i0]);
}
}
| 4,190 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RouterAdminHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RouterAdmin:1.0
//
final public class RouterAdminHelper
{
public static void
insert(org.omg.CORBA.Any any, RouterAdmin val)
{
any.insert_Object(val, type());
}
public static RouterAdmin
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(), "RouterAdmin");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RouterAdmin:1.0";
}
public static RouterAdmin
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (RouterAdmin)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_RouterAdminStub _ob_stub = new _RouterAdminStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RouterAdmin val)
{
out.write_Object(val);
}
public static RouterAdmin
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (RouterAdmin)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_RouterAdminStub _ob_stub = new _RouterAdminStub();
_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 RouterAdmin
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (RouterAdmin)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_RouterAdminStub _ob_stub = new _RouterAdminStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,191 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestInfoHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestInfo:1.0
//
final public class RequestInfoHolder implements org.omg.CORBA.portable.Streamable
{
public RequestInfo value;
public
RequestInfoHolder()
{
}
public
RequestInfoHolder(RequestInfo initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RequestInfoHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RequestInfoHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RequestInfoHelper.type();
}
}
| 4,192 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyDestinationHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyDestination:1.0
//
final public class ReplyDestinationHelper
{
public static void
insert(org.omg.CORBA.Any any, ReplyDestination val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ReplyDestination
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "handler_type";
members[0].type = ReplyDispositionHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "handler";
members[1].type = org.omg.Messaging.ReplyHandlerHelper.type();
typeCode_ = orb.create_struct_tc(id(), "ReplyDestination", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/ReplyDestination:1.0";
}
public static ReplyDestination
read(org.omg.CORBA.portable.InputStream in)
{
ReplyDestination _ob_v = new ReplyDestination();
_ob_v.handler_type = ReplyDispositionHelper.read(in);
_ob_v.handler = org.omg.Messaging.ReplyHandlerHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ReplyDestination val)
{
ReplyDispositionHelper.write(out, val.handler_type);
org.omg.Messaging.ReplyHandlerHelper.write(out, val.handler);
}
}
| 4,193 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyDestinationHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyDestination:1.0
//
final public class ReplyDestinationHolder implements org.omg.CORBA.portable.Streamable
{
public ReplyDestination value;
public
ReplyDestinationHolder()
{
}
public
ReplyDestinationHolder(ReplyDestination initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ReplyDestinationHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ReplyDestinationHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ReplyDestinationHelper.type();
}
}
| 4,194 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/InvalidState.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/InvalidState:1.0
//
/***/
final public class InvalidState extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/MessageRouting/InvalidState:1.0";
public
InvalidState()
{
super(_ob_id);
}
public
InvalidState(short registration_state)
{
super(_ob_id);
this.registration_state = registration_state;
}
public
InvalidState(String _reason,
short registration_state)
{
super(_ob_id + " " + _reason);
this.registration_state = registration_state;
}
public short registration_state;
}
| 4,195 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyNotAvailable.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyNotAvailable:1.0
//
/***/
final public class ReplyNotAvailable extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/MessageRouting/ReplyNotAvailable:1.0";
public
ReplyNotAvailable()
{
super(_ob_id);
}
public
ReplyNotAvailable(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,196 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RequestInfoHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RequestInfo:1.0
//
final public class RequestInfoHelper
{
public static void
insert(org.omg.CORBA.Any any, RequestInfo val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static RequestInfo
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[7];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "visited";
members[0].type = RouterListHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "to_visit";
members[1].type = RouterListHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "target";
members[2].type = orb.create_interface_tc("IDL:omg.org/CORBA/Object:1.0", "Object");
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "profile_index";
members[3].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort);
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "reply_destination";
members[4].type = ReplyDestinationHelper.type();
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "selected_qos";
members[5].type = org.omg.Messaging.PolicyValueSeqHelper.type();
members[6] = new org.omg.CORBA.StructMember();
members[6].name = "payload";
members[6].type = RequestMessageHelper.type();
typeCode_ = orb.create_struct_tc(id(), "RequestInfo", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/MessageRouting/RequestInfo:1.0";
}
public static RequestInfo
read(org.omg.CORBA.portable.InputStream in)
{
RequestInfo _ob_v = new RequestInfo();
_ob_v.visited = RouterListHelper.read(in);
_ob_v.to_visit = RouterListHelper.read(in);
_ob_v.target = in.read_Object();
_ob_v.profile_index = in.read_ushort();
_ob_v.reply_destination = ReplyDestinationHelper.read(in);
_ob_v.selected_qos = org.omg.Messaging.PolicyValueSeqHelper.read(in);
_ob_v.payload = RequestMessageHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RequestInfo val)
{
RouterListHelper.write(out, val.visited);
RouterListHelper.write(out, val.to_visit);
out.write_Object(val.target);
out.write_ushort(val.profile_index);
ReplyDestinationHelper.write(out, val.reply_destination);
org.omg.Messaging.PolicyValueSeqHelper.write(out, val.selected_qos);
RequestMessageHelper.write(out, val.payload);
}
}
| 4,197 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/ReplyDisposition.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/ReplyDisposition:1.0
//
/***/
public class ReplyDisposition implements org.omg.CORBA.portable.IDLEntity
{
private static ReplyDisposition [] values_ = new ReplyDisposition[2];
private int value_;
public final static int _TYPED = 0;
public final static ReplyDisposition TYPED = new ReplyDisposition(_TYPED);
public final static int _UNTYPED = 1;
public final static ReplyDisposition UNTYPED = new ReplyDisposition(_UNTYPED);
protected
ReplyDisposition(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static ReplyDisposition
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,198 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/MessageRouting/RetryPolicy.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.MessageRouting;
//
// IDL:omg.org/MessageRouting/RetryPolicy:1.0
//
/***/
public abstract class RetryPolicy implements org.omg.CORBA.portable.StreamableValue,
org.omg.CORBA.PolicyOperations
{
private static String[] _OB_truncatableIds_ =
{
RetryPolicyHelper.id()
};
public String[]
_truncatable_ids()
{
return _OB_truncatableIds_;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
}
public org.omg.CORBA.TypeCode
_type()
{
return RetryPolicyHelper.type();
}
}
| 4,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.