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/GIOP/MessageHeader_1_1Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MessageHeader_1_1:1.0
//
final public class MessageHeader_1_1Helper
{
public static void
insert(org.omg.CORBA.Any any, MessageHeader_1_1 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MessageHeader_1_1
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[5];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "magic";
members[0].type = orb.create_array_tc(4, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_char));
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "GIOP_version";
members[1].type = VersionHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "flags";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "message_type";
members[3].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "message_size";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
typeCode_ = orb.create_struct_tc(id(), "MessageHeader_1_1", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/MessageHeader_1_1:1.0";
}
public static MessageHeader_1_1
read(org.omg.CORBA.portable.InputStream in)
{
MessageHeader_1_1 _ob_v = new MessageHeader_1_1();
int len0 = 4;
_ob_v.magic = new char[len0];
in.read_char_array(_ob_v.magic, 0, len0);
_ob_v.GIOP_version = VersionHelper.read(in);
_ob_v.flags = in.read_octet();
_ob_v.message_type = in.read_octet();
_ob_v.message_size = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, MessageHeader_1_1 val)
{
int len0 = val.magic.length;
if(len0 != 4)
throw new org.omg.CORBA.MARSHAL();
out.write_char_array(val.magic, 0, len0);
VersionHelper.write(out, val.GIOP_version);
out.write_octet(val.flags);
out.write_octet(val.message_type);
out.write_ulong(val.message_size);
}
}
| 4,000 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/FragmentHeader_1_2Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/FragmentHeader_1_2:1.0
//
final public class FragmentHeader_1_2Holder implements org.omg.CORBA.portable.Streamable
{
public FragmentHeader_1_2 value;
public
FragmentHeader_1_2Holder()
{
}
public
FragmentHeader_1_2Holder(FragmentHeader_1_2 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = FragmentHeader_1_2Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
FragmentHeader_1_2Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return FragmentHeader_1_2Helper.type();
}
}
| 4,001 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_2Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateRequestHeader_1_2:1.0
//
final public class LocateRequestHeader_1_2Helper
{
public static void
insert(org.omg.CORBA.Any any, LocateRequestHeader_1_2 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static LocateRequestHeader_1_2
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 = "request_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "target";
members[1].type = TargetAddressHelper.type();
typeCode_ = orb.create_struct_tc(id(), "LocateRequestHeader_1_2", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/LocateRequestHeader_1_2:1.0";
}
public static LocateRequestHeader_1_2
read(org.omg.CORBA.portable.InputStream in)
{
LocateRequestHeader_1_2 _ob_v = new LocateRequestHeader_1_2();
_ob_v.request_id = in.read_ulong();
_ob_v.target = TargetAddressHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LocateRequestHeader_1_2 val)
{
out.write_ulong(val.request_id);
TargetAddressHelper.write(out, val.target);
}
}
| 4,002 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/CancelRequestHeader.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/CancelRequestHeader:1.0
//
/***/
final public class CancelRequestHeader implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/CancelRequestHeader:1.0";
public
CancelRequestHeader()
{
}
public
CancelRequestHeader(int request_id)
{
this.request_id = request_id;
}
public int request_id;
}
| 4,003 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_2Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/ReplyHeader_1_2:1.0
//
final public class ReplyHeader_1_2Helper
{
public static void
insert(org.omg.CORBA.Any any, ReplyHeader_1_2 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ReplyHeader_1_2
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[3];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "request_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "reply_status";
members[1].type = ReplyStatusType_1_2Helper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "service_context";
members[2].type = org.omg.IOP.ServiceContextListHelper.type();
typeCode_ = orb.create_struct_tc(id(), "ReplyHeader_1_2", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/ReplyHeader_1_2:1.0";
}
public static ReplyHeader_1_2
read(org.omg.CORBA.portable.InputStream in)
{
ReplyHeader_1_2 _ob_v = new ReplyHeader_1_2();
_ob_v.request_id = in.read_ulong();
_ob_v.reply_status = ReplyStatusType_1_2Helper.read(in);
_ob_v.service_context = org.omg.IOP.ServiceContextListHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ReplyHeader_1_2 val)
{
out.write_ulong(val.request_id);
ReplyStatusType_1_2Helper.write(out, val.reply_status);
org.omg.IOP.ServiceContextListHelper.write(out, val.service_context);
}
}
| 4,004 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_0.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_0:1.0
//
/***/
final public class LocateReplyHeader_1_0 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/LocateReplyHeader_1_0:1.0";
public
LocateReplyHeader_1_0()
{
}
public
LocateReplyHeader_1_0(int request_id,
LocateStatusType_1_2 locate_status)
{
this.request_id = request_id;
this.locate_status = locate_status;
}
public int request_id;
public LocateStatusType_1_2 locate_status;
}
| 4,005 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_2Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/ReplyHeader_1_2:1.0
//
final public class ReplyHeader_1_2Holder implements org.omg.CORBA.portable.Streamable
{
public ReplyHeader_1_2 value;
public
ReplyHeader_1_2Holder()
{
}
public
ReplyHeader_1_2Holder(ReplyHeader_1_2 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ReplyHeader_1_2Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ReplyHeader_1_2Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ReplyHeader_1_2Helper.type();
}
}
| 4,006 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_2.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/ReplyHeader_1_2:1.0
//
/***/
final public class ReplyHeader_1_2 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/ReplyHeader_1_2:1.0";
public
ReplyHeader_1_2()
{
}
public
ReplyHeader_1_2(int request_id,
ReplyStatusType_1_2 reply_status,
org.omg.IOP.ServiceContext[] service_context)
{
this.request_id = request_id;
this.reply_status = reply_status;
this.service_context = service_context;
}
public int request_id;
public ReplyStatusType_1_2 reply_status;
public org.omg.IOP.ServiceContext[] service_context;
}
| 4,007 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_1Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_1:1.0
//
final public class LocateReplyHeader_1_1Helper
{
public static void
insert(org.omg.CORBA.Any any, LocateReplyHeader_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static LocateReplyHeader_1_0
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(), "LocateReplyHeader_1_1", LocateReplyHeader_1_0Helper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/LocateReplyHeader_1_1:1.0";
}
public static LocateReplyHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
LocateReplyHeader_1_0 _ob_v;
_ob_v = LocateReplyHeader_1_0Helper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LocateReplyHeader_1_0 val)
{
LocateReplyHeader_1_0Helper.write(out, val);
}
}
| 4,008 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_1Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/ReplyHeader_1_1:1.0
//
final public class ReplyHeader_1_1Helper
{
public static void
insert(org.omg.CORBA.Any any, ReplyHeader_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ReplyHeader_1_0
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(), "ReplyHeader_1_1", ReplyHeader_1_0Helper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/ReplyHeader_1_1:1.0";
}
public static ReplyHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
ReplyHeader_1_0 _ob_v;
_ob_v = ReplyHeader_1_0Helper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ReplyHeader_1_0 val)
{
ReplyHeader_1_0Helper.write(out, val);
}
}
| 4,009 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_0Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/RequestHeader_1_0:1.0
//
final public class RequestHeader_1_0Helper
{
public static void
insert(org.omg.CORBA.Any any, RequestHeader_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static RequestHeader_1_0
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[6];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "service_context";
members[0].type = org.omg.IOP.ServiceContextListHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "request_id";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "response_expected";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "object_key";
members[3].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "operation";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "requesting_principal";
members[5].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_Principal);
typeCode_ = orb.create_struct_tc(id(), "RequestHeader_1_0", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/RequestHeader_1_0:1.0";
}
public static RequestHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
RequestHeader_1_0 _ob_v = new RequestHeader_1_0();
_ob_v.service_context = org.omg.IOP.ServiceContextListHelper.read(in);
_ob_v.request_id = in.read_ulong();
_ob_v.response_expected = in.read_boolean();
int len0 = in.read_ulong();
_ob_v.object_key = new byte[len0];
in.read_octet_array(_ob_v.object_key, 0, len0);
_ob_v.operation = in.read_string();
_ob_v.requesting_principal = in.read_Principal();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RequestHeader_1_0 val)
{
org.omg.IOP.ServiceContextListHelper.write(out, val.service_context);
out.write_ulong(val.request_id);
out.write_boolean(val.response_expected);
int len0 = val.object_key.length;
out.write_ulong(len0);
out.write_octet_array(val.object_key, 0, len0);
out.write_string(val.operation);
out.write_Principal(val.requesting_principal);
}
}
| 4,010 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/CancelRequestHeaderHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/CancelRequestHeader:1.0
//
final public class CancelRequestHeaderHolder implements org.omg.CORBA.portable.Streamable
{
public CancelRequestHeader value;
public
CancelRequestHeaderHolder()
{
}
public
CancelRequestHeaderHolder(CancelRequestHeader initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = CancelRequestHeaderHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
CancelRequestHeaderHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return CancelRequestHeaderHelper.type();
}
}
| 4,011 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MessageHeader_1_0.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MessageHeader_1_0:1.0
//
/***/
final public class MessageHeader_1_0 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/MessageHeader_1_0:1.0";
public
MessageHeader_1_0()
{
}
public
MessageHeader_1_0(char[] magic,
Version GIOP_version,
boolean byte_order,
byte message_type,
int message_size)
{
this.magic = magic;
this.GIOP_version = GIOP_version;
this.byte_order = byte_order;
this.message_type = message_type;
this.message_size = message_size;
}
public char[] magic;
public Version GIOP_version;
public boolean byte_order;
public byte message_type;
public int message_size;
}
| 4,012 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_2Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_2:1.0
//
final public class LocateReplyHeader_1_2Holder implements org.omg.CORBA.portable.Streamable
{
public LocateReplyHeader_1_2 value;
public
LocateReplyHeader_1_2Holder()
{
}
public
LocateReplyHeader_1_2Holder(LocateReplyHeader_1_2 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = LocateReplyHeader_1_2Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
LocateReplyHeader_1_2Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return LocateReplyHeader_1_2Helper.type();
}
}
| 4,013 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_0.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/RequestHeader_1_0:1.0
//
/***/
final public class RequestHeader_1_0 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/RequestHeader_1_0:1.0";
public
RequestHeader_1_0()
{
}
public
RequestHeader_1_0(org.omg.IOP.ServiceContext[] service_context,
int request_id,
boolean response_expected,
byte[] object_key,
String operation,
org.omg.CORBA.Principal requesting_principal)
{
this.service_context = service_context;
this.request_id = request_id;
this.response_expected = response_expected;
this.object_key = object_key;
this.operation = operation;
this.requesting_principal = requesting_principal;
}
public org.omg.IOP.ServiceContext[] service_context;
public int request_id;
public boolean response_expected;
public byte[] object_key;
public String operation;
public org.omg.CORBA.Principal requesting_principal;
}
| 4,014 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_2Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_2:1.0
//
final public class LocateReplyHeader_1_2Helper
{
public static void
insert(org.omg.CORBA.Any any, LocateReplyHeader_1_2 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static LocateReplyHeader_1_2
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 = "request_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "locate_status";
members[1].type = LocateStatusType_1_2Helper.type();
typeCode_ = orb.create_struct_tc(id(), "LocateReplyHeader_1_2", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/LocateReplyHeader_1_2:1.0";
}
public static LocateReplyHeader_1_2
read(org.omg.CORBA.portable.InputStream in)
{
LocateReplyHeader_1_2 _ob_v = new LocateReplyHeader_1_2();
_ob_v.request_id = in.read_ulong();
_ob_v.locate_status = LocateStatusType_1_2Helper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LocateReplyHeader_1_2 val)
{
out.write_ulong(val.request_id);
LocateStatusType_1_2Helper.write(out, val.locate_status);
}
}
| 4,015 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/CancelRequestHeaderHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/CancelRequestHeader:1.0
//
final public class CancelRequestHeaderHelper
{
public static void
insert(org.omg.CORBA.Any any, CancelRequestHeader val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static CancelRequestHeader
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 = "request_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
typeCode_ = orb.create_struct_tc(id(), "CancelRequestHeader", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/CancelRequestHeader:1.0";
}
public static CancelRequestHeader
read(org.omg.CORBA.portable.InputStream in)
{
CancelRequestHeader _ob_v = new CancelRequestHeader();
_ob_v.request_id = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, CancelRequestHeader val)
{
out.write_ulong(val.request_id);
}
}
| 4,016 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_0Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/RequestHeader_1_0:1.0
//
final public class RequestHeader_1_0Holder implements org.omg.CORBA.portable.Streamable
{
public RequestHeader_1_0 value;
public
RequestHeader_1_0Holder()
{
}
public
RequestHeader_1_0Holder(RequestHeader_1_0 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RequestHeader_1_0Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RequestHeader_1_0Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RequestHeader_1_0Helper.type();
}
}
| 4,017 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/TargetAddress.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/TargetAddress:1.0
//
/***/
final public class TargetAddress implements org.omg.CORBA.portable.IDLEntity
{
java.lang.Object _ob_v_;
boolean _ob_i_;
short _ob_d_;
static boolean
_OB_check(short d0, short d1)
{
short d[] = new short[2];
d[0] = d0;
d[1] = d1;
for(int i = 0; i < 2; i++)
{
switch(d[i])
{
case (short)0:
break;
case (short)1:
break;
case (short)2:
break;
default:
d[i] = (short)3;
break;
}
}
return d[0] == d[1];
}
public
TargetAddress()
{
_ob_i_ = false;
}
public short
discriminator()
{
if(!_ob_i_)
throw new org.omg.CORBA.BAD_OPERATION();
return _ob_d_;
}
public byte[]
object_key()
{
if(!_ob_i_)
throw new org.omg.CORBA.BAD_OPERATION();
if(!_OB_check(_ob_d_, (short)0))
throw new org.omg.CORBA.BAD_OPERATION();
return (byte[])_ob_v_;
}
public void
object_key(byte[] val)
{
_ob_i_ = true;
_ob_d_ = (short)0;
_ob_v_ = val;
}
public org.omg.IOP.TaggedProfile
profile()
{
if(!_ob_i_)
throw new org.omg.CORBA.BAD_OPERATION();
if(!_OB_check(_ob_d_, (short)1))
throw new org.omg.CORBA.BAD_OPERATION();
return (org.omg.IOP.TaggedProfile)_ob_v_;
}
public void
profile(org.omg.IOP.TaggedProfile val)
{
_ob_i_ = true;
_ob_d_ = (short)1;
_ob_v_ = val;
}
public IORAddressingInfo
ior()
{
if(!_ob_i_)
throw new org.omg.CORBA.BAD_OPERATION();
if(!_OB_check(_ob_d_, (short)2))
throw new org.omg.CORBA.BAD_OPERATION();
return (IORAddressingInfo)_ob_v_;
}
public void
ior(IORAddressingInfo val)
{
_ob_i_ = true;
_ob_d_ = (short)2;
_ob_v_ = val;
}
public void
__default()
{
_ob_i_ = true;
_ob_d_ = (short)3;
_ob_v_ = null;
}
public void
__default(short d)
{
if(!_OB_check(d, (short)3))
throw new org.omg.CORBA.BAD_PARAM();
_ob_i_ = true;
_ob_d_ = d;
_ob_v_ = null;
}
}
| 4,018 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_1.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/RequestHeader_1_1:1.0
//
/***/
final public class RequestHeader_1_1 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/RequestHeader_1_1:1.0";
public
RequestHeader_1_1()
{
}
public
RequestHeader_1_1(org.omg.IOP.ServiceContext[] service_context,
int request_id,
boolean response_expected,
byte[] reserved,
byte[] object_key,
String operation,
org.omg.CORBA.Principal requesting_principal)
{
this.service_context = service_context;
this.request_id = request_id;
this.response_expected = response_expected;
this.reserved = reserved;
this.object_key = object_key;
this.operation = operation;
this.requesting_principal = requesting_principal;
}
public org.omg.IOP.ServiceContext[] service_context;
public int request_id;
public boolean response_expected;
public byte[] reserved;
public byte[] object_key;
public String operation;
public org.omg.CORBA.Principal requesting_principal;
}
| 4,019 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_1Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateRequestHeader_1_1:1.0
//
final public class LocateRequestHeader_1_1Helper
{
public static void
insert(org.omg.CORBA.Any any, LocateRequestHeader_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static LocateRequestHeader_1_0
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(), "LocateRequestHeader_1_1", LocateRequestHeader_1_0Helper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/LocateRequestHeader_1_1:1.0";
}
public static LocateRequestHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
LocateRequestHeader_1_0 _ob_v;
_ob_v = LocateRequestHeader_1_0Helper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LocateRequestHeader_1_0 val)
{
LocateRequestHeader_1_0Helper.write(out, val);
}
}
| 4,020 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MessageHeader_1_2Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MessageHeader_1_2:1.0
//
final public class MessageHeader_1_2Helper
{
public static void
insert(org.omg.CORBA.Any any, MessageHeader_1_1 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MessageHeader_1_1
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(), "MessageHeader_1_2", MessageHeader_1_1Helper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/MessageHeader_1_2:1.0";
}
public static MessageHeader_1_1
read(org.omg.CORBA.portable.InputStream in)
{
MessageHeader_1_1 _ob_v;
_ob_v = MessageHeader_1_1Helper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, MessageHeader_1_1 val)
{
MessageHeader_1_1Helper.write(out, val);
}
}
| 4,021 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MessageHeader_1_1.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MessageHeader_1_1:1.0
//
/***/
final public class MessageHeader_1_1 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/MessageHeader_1_1:1.0";
public
MessageHeader_1_1()
{
}
public
MessageHeader_1_1(char[] magic,
Version GIOP_version,
byte flags,
byte message_type,
int message_size)
{
this.magic = magic;
this.GIOP_version = GIOP_version;
this.flags = flags;
this.message_type = message_type;
this.message_size = message_size;
}
public char[] magic;
public Version GIOP_version;
public byte flags;
public byte message_type;
public int message_size;
}
| 4,022 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ReplyHeader_1_0.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/ReplyHeader_1_0:1.0
//
/***/
final public class ReplyHeader_1_0 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/ReplyHeader_1_0:1.0";
public
ReplyHeader_1_0()
{
}
public
ReplyHeader_1_0(org.omg.IOP.ServiceContext[] service_context,
int request_id,
ReplyStatusType_1_2 reply_status)
{
this.service_context = service_context;
this.request_id = request_id;
this.reply_status = reply_status;
}
public org.omg.IOP.ServiceContext[] service_context;
public int request_id;
public ReplyStatusType_1_2 reply_status;
}
| 4,023 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_2.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_2:1.0
//
/***/
final public class LocateReplyHeader_1_2 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/LocateReplyHeader_1_2:1.0";
public
LocateReplyHeader_1_2()
{
}
public
LocateReplyHeader_1_2(int request_id,
LocateStatusType_1_2 locate_status)
{
this.request_id = request_id;
this.locate_status = locate_status;
}
public int request_id;
public LocateStatusType_1_2 locate_status;
}
| 4,024 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_2Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/RequestHeader_1_2:1.0
//
final public class RequestHeader_1_2Helper
{
public static void
insert(org.omg.CORBA.Any any, RequestHeader_1_2 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static RequestHeader_1_2
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[6];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "request_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "response_flags";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "reserved";
members[2].type = orb.create_array_tc(3, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "target";
members[3].type = TargetAddressHelper.type();
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "operation";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "service_context";
members[5].type = org.omg.IOP.ServiceContextListHelper.type();
typeCode_ = orb.create_struct_tc(id(), "RequestHeader_1_2", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/RequestHeader_1_2:1.0";
}
public static RequestHeader_1_2
read(org.omg.CORBA.portable.InputStream in)
{
RequestHeader_1_2 _ob_v = new RequestHeader_1_2();
_ob_v.request_id = in.read_ulong();
_ob_v.response_flags = in.read_octet();
int len0 = 3;
_ob_v.reserved = new byte[len0];
in.read_octet_array(_ob_v.reserved, 0, len0);
_ob_v.target = TargetAddressHelper.read(in);
_ob_v.operation = in.read_string();
_ob_v.service_context = org.omg.IOP.ServiceContextListHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, RequestHeader_1_2 val)
{
out.write_ulong(val.request_id);
out.write_octet(val.response_flags);
int len0 = val.reserved.length;
if(len0 != 3)
throw new org.omg.CORBA.MARSHAL();
out.write_octet_array(val.reserved, 0, len0);
TargetAddressHelper.write(out, val.target);
out.write_string(val.operation);
org.omg.IOP.ServiceContextListHelper.write(out, val.service_context);
}
}
| 4,025 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_0Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_0:1.0
//
final public class LocateReplyHeader_1_0Holder implements org.omg.CORBA.portable.Streamable
{
public LocateReplyHeader_1_0 value;
public
LocateReplyHeader_1_0Holder()
{
}
public
LocateReplyHeader_1_0Holder(LocateReplyHeader_1_0 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = LocateReplyHeader_1_0Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
LocateReplyHeader_1_0Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return LocateReplyHeader_1_0Helper.type();
}
}
| 4,026 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateReplyHeader_1_0Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateReplyHeader_1_0:1.0
//
final public class LocateReplyHeader_1_0Helper
{
public static void
insert(org.omg.CORBA.Any any, LocateReplyHeader_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static LocateReplyHeader_1_0
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 = "request_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "locate_status";
members[1].type = LocateStatusType_1_2Helper.type();
typeCode_ = orb.create_struct_tc(id(), "LocateReplyHeader_1_0", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/LocateReplyHeader_1_0:1.0";
}
public static LocateReplyHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
LocateReplyHeader_1_0 _ob_v = new LocateReplyHeader_1_0();
_ob_v.request_id = in.read_ulong();
_ob_v.locate_status = LocateStatusType_1_2Helper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LocateReplyHeader_1_0 val)
{
out.write_ulong(val.request_id);
LocateStatusType_1_2Helper.write(out, val.locate_status);
}
}
| 4,027 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/LocateRequestHeader_1_2.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/LocateRequestHeader_1_2:1.0
//
/***/
final public class LocateRequestHeader_1_2 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/LocateRequestHeader_1_2:1.0";
public
LocateRequestHeader_1_2()
{
}
public
LocateRequestHeader_1_2(int request_id,
TargetAddress target)
{
this.request_id = request_id;
this.target = target;
}
public int request_id;
public TargetAddress target;
}
| 4,028 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/RequestHeader_1_2Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/RequestHeader_1_2:1.0
//
final public class RequestHeader_1_2Holder implements org.omg.CORBA.portable.Streamable
{
public RequestHeader_1_2 value;
public
RequestHeader_1_2Holder()
{
}
public
RequestHeader_1_2Holder(RequestHeader_1_2 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RequestHeader_1_2Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RequestHeader_1_2Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RequestHeader_1_2Helper.type();
}
}
| 4,029 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/TargetAddressHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/TargetAddress:1.0
//
final public class TargetAddressHolder implements org.omg.CORBA.portable.Streamable
{
public TargetAddress value;
public
TargetAddressHolder()
{
}
public
TargetAddressHolder(TargetAddress initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = TargetAddressHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
TargetAddressHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return TargetAddressHelper.type();
}
}
| 4,030 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MessageHeader_1_0Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MessageHeader_1_0:1.0
//
final public class MessageHeader_1_0Holder implements org.omg.CORBA.portable.Streamable
{
public MessageHeader_1_0 value;
public
MessageHeader_1_0Holder()
{
}
public
MessageHeader_1_0Holder(MessageHeader_1_0 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = MessageHeader_1_0Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
MessageHeader_1_0Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return MessageHeader_1_0Helper.type();
}
}
| 4,031 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MsgType_1_1Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MsgType_1_1:1.0
//
final public class MsgType_1_1Helper
{
public static void
insert(org.omg.CORBA.Any any, MsgType_1_1 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MsgType_1_1
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[8];
members[0] = "Request";
members[1] = "Reply";
members[2] = "CancelRequest";
members[3] = "LocateRequest";
members[4] = "LocateReply";
members[5] = "CloseConnection";
members[6] = "MessageError";
members[7] = "Fragment";
typeCode_ = orb.create_enum_tc(id(), "MsgType_1_1", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/MsgType_1_1:1.0";
}
public static MsgType_1_1
read(org.omg.CORBA.portable.InputStream in)
{
MsgType_1_1 _ob_v;
_ob_v = MsgType_1_1.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, MsgType_1_1 val)
{
out.write_ulong(val.value());
}
}
| 4,032 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/IORAddressingInfoHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/IORAddressingInfo:1.0
//
final public class IORAddressingInfoHelper
{
public static void
insert(org.omg.CORBA.Any any, IORAddressingInfo val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static IORAddressingInfo
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 = "selected_profile_index";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "ior";
members[1].type = org.omg.IOP.IORHelper.type();
typeCode_ = orb.create_struct_tc(id(), "IORAddressingInfo", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/IORAddressingInfo:1.0";
}
public static IORAddressingInfo
read(org.omg.CORBA.portable.InputStream in)
{
IORAddressingInfo _ob_v = new IORAddressingInfo();
_ob_v.selected_profile_index = in.read_ulong();
_ob_v.ior = org.omg.IOP.IORHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, IORAddressingInfo val)
{
out.write_ulong(val.selected_profile_index);
org.omg.IOP.IORHelper.write(out, val.ior);
}
}
| 4,033 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/SystemExceptionReplyBodyHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/SystemExceptionReplyBody:1.0
//
final public class SystemExceptionReplyBodyHelper
{
public static void
insert(org.omg.CORBA.Any any, SystemExceptionReplyBody val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static SystemExceptionReplyBody
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[3];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "exception_id";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "minor_code_value";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "completion_status";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
typeCode_ = orb.create_struct_tc(id(), "SystemExceptionReplyBody", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/SystemExceptionReplyBody:1.0";
}
public static SystemExceptionReplyBody
read(org.omg.CORBA.portable.InputStream in)
{
SystemExceptionReplyBody _ob_v = new SystemExceptionReplyBody();
_ob_v.exception_id = in.read_string();
_ob_v.minor_code_value = in.read_ulong();
_ob_v.completion_status = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, SystemExceptionReplyBody val)
{
out.write_string(val.exception_id);
out.write_ulong(val.minor_code_value);
out.write_ulong(val.completion_status);
}
}
| 4,034 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/VersionHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/Version:1.0
//
final public class VersionHelper
{
public static void
insert(org.omg.CORBA.Any any, Version val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Version
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 = "major";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "minor";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
typeCode_ = orb.create_struct_tc(id(), "Version", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/Version:1.0";
}
public static Version
read(org.omg.CORBA.portable.InputStream in)
{
Version _ob_v = new Version();
_ob_v.major = in.read_octet();
_ob_v.minor = in.read_octet();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Version val)
{
out.write_octet(val.major);
out.write_octet(val.minor);
}
}
| 4,035 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/Version.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/Version:1.0
//
/***/
final public class Version implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/Version:1.0";
public
Version()
{
}
public
Version(byte major,
byte minor)
{
this.major = major;
this.minor = minor;
}
public byte major;
public byte minor;
}
| 4,036 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/FragmentHeader_1_2.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/FragmentHeader_1_2:1.0
//
/***/
final public class FragmentHeader_1_2 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/GIOP/FragmentHeader_1_2:1.0";
public
FragmentHeader_1_2()
{
}
public
FragmentHeader_1_2(int request_id)
{
this.request_id = request_id;
}
public int request_id;
}
| 4,037 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/ProfileAddr.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/ProfileAddr:1.0
//
/***/
public interface ProfileAddr
{
short value = (short)(1L);
}
| 4,038 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/IORAddressingInfoHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/IORAddressingInfo:1.0
//
final public class IORAddressingInfoHolder implements org.omg.CORBA.portable.Streamable
{
public IORAddressingInfo value;
public
IORAddressingInfoHolder()
{
}
public
IORAddressingInfoHolder(IORAddressingInfo initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = IORAddressingInfoHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
IORAddressingInfoHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return IORAddressingInfoHelper.type();
}
}
| 4,039 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/VersionHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/Version:1.0
//
final public class VersionHolder implements org.omg.CORBA.portable.Streamable
{
public Version value;
public
VersionHolder()
{
}
public
VersionHolder(Version initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = VersionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
VersionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return VersionHelper.type();
}
}
| 4,040 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/SystemExceptionReplyBodyHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/SystemExceptionReplyBody:1.0
//
final public class SystemExceptionReplyBodyHolder implements org.omg.CORBA.portable.Streamable
{
public SystemExceptionReplyBody value;
public
SystemExceptionReplyBodyHolder()
{
}
public
SystemExceptionReplyBodyHolder(SystemExceptionReplyBody initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = SystemExceptionReplyBodyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
SystemExceptionReplyBodyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return SystemExceptionReplyBodyHelper.type();
}
}
| 4,041 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/TargetAddressHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/TargetAddress:1.0
//
final public class TargetAddressHelper
{
public static void
insert(org.omg.CORBA.Any any, TargetAddress val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TargetAddress
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.UnionMember[] members = new org.omg.CORBA.UnionMember[3];
members[0] = new org.omg.CORBA.UnionMember();
members[0].name = "object_key";
members[0].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[0].label = orb.create_any();
members[0].label.insert_short((short)(0L));
members[1] = new org.omg.CORBA.UnionMember();
members[1].name = "profile";
members[1].type = org.omg.IOP.TaggedProfileHelper.type();
members[1].label = orb.create_any();
members[1].label.insert_short((short)(1L));
members[2] = new org.omg.CORBA.UnionMember();
members[2].name = "ior";
members[2].type = IORAddressingInfoHelper.type();
members[2].label = orb.create_any();
members[2].label.insert_short((short)(2L));
org.omg.CORBA.TypeCode discType = AddressingDispositionHelper.type();
typeCode_ = orb.create_union_tc(id(), "TargetAddress", discType, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/TargetAddress:1.0";
}
public static TargetAddress
read(org.omg.CORBA.portable.InputStream in)
{
TargetAddress _ob_v = new TargetAddress();
short _ob_d;
_ob_d = AddressingDispositionHelper.read(in);
switch(_ob_d)
{
case (short)0:
{
byte[] _ob_m;
int len0 = in.read_ulong();
_ob_m = new byte[len0];
in.read_octet_array(_ob_m, 0, len0);
_ob_v.object_key(_ob_m);
break;
}
case (short)1:
{
org.omg.IOP.TaggedProfile _ob_m;
_ob_m = org.omg.IOP.TaggedProfileHelper.read(in);
_ob_v.profile(_ob_m);
break;
}
case (short)2:
{
IORAddressingInfo _ob_m;
_ob_m = IORAddressingInfoHelper.read(in);
_ob_v.ior(_ob_m);
break;
}
default:
_ob_v.__default(_ob_d);
break;
}
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, TargetAddress val)
{
short _ob_d = val.discriminator();
AddressingDispositionHelper.write(out, _ob_d);
switch(_ob_d)
{
case (short)0:
{
byte[] _ob_m = val.object_key();
int len0 = _ob_m.length;
out.write_ulong(len0);
out.write_octet_array(_ob_m, 0, len0);
break;
}
case (short)1:
{
org.omg.IOP.TaggedProfile _ob_m = val.profile();
org.omg.IOP.TaggedProfileHelper.write(out, _ob_m);
break;
}
case (short)2:
{
IORAddressingInfo _ob_m = val.ior();
IORAddressingInfoHelper.write(out, _ob_m);
break;
}
default:
break;
}
}
}
| 4,042 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MessageHeader_1_0Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MessageHeader_1_0:1.0
//
final public class MessageHeader_1_0Helper
{
public static void
insert(org.omg.CORBA.Any any, MessageHeader_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static MessageHeader_1_0
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[5];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "magic";
members[0].type = orb.create_array_tc(4, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_char));
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "GIOP_version";
members[1].type = VersionHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "byte_order";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "message_type";
members[3].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "message_size";
members[4].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong);
typeCode_ = orb.create_struct_tc(id(), "MessageHeader_1_0", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/GIOP/MessageHeader_1_0:1.0";
}
public static MessageHeader_1_0
read(org.omg.CORBA.portable.InputStream in)
{
MessageHeader_1_0 _ob_v = new MessageHeader_1_0();
int len0 = 4;
_ob_v.magic = new char[len0];
in.read_char_array(_ob_v.magic, 0, len0);
_ob_v.GIOP_version = VersionHelper.read(in);
_ob_v.byte_order = in.read_boolean();
_ob_v.message_type = in.read_octet();
_ob_v.message_size = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, MessageHeader_1_0 val)
{
int len0 = val.magic.length;
if(len0 != 4)
throw new org.omg.CORBA.MARSHAL();
out.write_char_array(val.magic, 0, len0);
VersionHelper.write(out, val.GIOP_version);
out.write_boolean(val.byte_order);
out.write_octet(val.message_type);
out.write_ulong(val.message_size);
}
}
| 4,043 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MsgType_1_1.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MsgType_1_1:1.0
//
/***/
public class MsgType_1_1 implements org.omg.CORBA.portable.IDLEntity
{
private static MsgType_1_1 [] values_ = new MsgType_1_1[8];
private int value_;
public final static int _Request = 0;
public final static MsgType_1_1 Request = new MsgType_1_1(_Request);
public final static int _Reply = 1;
public final static MsgType_1_1 Reply = new MsgType_1_1(_Reply);
public final static int _CancelRequest = 2;
public final static MsgType_1_1 CancelRequest = new MsgType_1_1(_CancelRequest);
public final static int _LocateRequest = 3;
public final static MsgType_1_1 LocateRequest = new MsgType_1_1(_LocateRequest);
public final static int _LocateReply = 4;
public final static MsgType_1_1 LocateReply = new MsgType_1_1(_LocateReply);
public final static int _CloseConnection = 5;
public final static MsgType_1_1 CloseConnection = new MsgType_1_1(_CloseConnection);
public final static int _MessageError = 6;
public final static MsgType_1_1 MessageError = new MsgType_1_1(_MessageError);
public final static int _Fragment = 7;
public final static MsgType_1_1 Fragment = new MsgType_1_1(_Fragment);
protected
MsgType_1_1(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static MsgType_1_1
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,044 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/GIOP/MsgType_1_1Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.GIOP;
//
// IDL:omg.org/GIOP/MsgType_1_1:1.0
//
final public class MsgType_1_1Holder implements org.omg.CORBA.portable.Streamable
{
public MsgType_1_1 value;
public
MsgType_1_1Holder()
{
}
public
MsgType_1_1Holder(MsgType_1_1 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = MsgType_1_1Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
MsgType_1_1Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return MsgType_1_1Helper.type();
}
}
| 4,045 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ParameterListHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/ParameterList:1.0
//
final public class ParameterListHelper
{
public static void
insert(org.omg.CORBA.Any any, Parameter[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Parameter[]
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(), "ParameterList", orb.create_sequence_tc(0, ParameterHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/Dynamic/ParameterList:1.0";
}
public static Parameter[]
read(org.omg.CORBA.portable.InputStream in)
{
Parameter[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new Parameter[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ParameterHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Parameter[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ParameterHelper.write(out, val[i0]);
}
}
| 4,046 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ParameterListHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/ParameterList:1.0
//
final public class ParameterListHolder implements org.omg.CORBA.portable.Streamable
{
public Parameter[] value;
public
ParameterListHolder()
{
}
public
ParameterListHolder(Parameter[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ParameterListHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ParameterListHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ParameterListHelper.type();
}
}
| 4,047 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/Parameter.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/Parameter:1.0
//
/***/
final public class Parameter implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/Dynamic/Parameter:1.0";
public
Parameter()
{
}
public
Parameter(org.omg.CORBA.Any argument,
org.omg.CORBA.ParameterMode mode)
{
this.argument = argument;
this.mode = mode;
}
public org.omg.CORBA.Any argument;
public org.omg.CORBA.ParameterMode mode;
}
| 4,048 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ContextListHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/ContextList:1.0
//
final public class ContextListHelper
{
public static void
insert(org.omg.CORBA.Any any, String[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ContextList", org.omg.CORBA.StringSeqHelper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/Dynamic/ContextList:1.0";
}
public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
String[] _ob_v;
_ob_v = org.omg.CORBA.StringSeqHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String[] val)
{
org.omg.CORBA.StringSeqHelper.write(out, val);
}
}
| 4,049 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ExceptionListHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/ExceptionList:1.0
//
final public class ExceptionListHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.CORBA.TypeCode[] value;
public
ExceptionListHolder()
{
}
public
ExceptionListHolder(org.omg.CORBA.TypeCode[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ExceptionListHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ExceptionListHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ExceptionListHelper.type();
}
}
| 4,050 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ExceptionListHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/ExceptionList:1.0
//
final public class ExceptionListHelper
{
public static void
insert(org.omg.CORBA.Any any, org.omg.CORBA.TypeCode[] 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.TypeCode[]
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(), "ExceptionList", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/Dynamic/ExceptionList:1.0";
}
public static org.omg.CORBA.TypeCode[]
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.TypeCode[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new org.omg.CORBA.TypeCode[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = in.read_TypeCode();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, org.omg.CORBA.TypeCode[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
out.write_TypeCode(val[i0]);
}
}
| 4,051 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/RequestContextHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/RequestContext:1.0
//
final public class RequestContextHelper
{
public static void
insert(org.omg.CORBA.Any any, String[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "RequestContext", org.omg.CORBA.StringSeqHelper.type());
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/Dynamic/RequestContext:1.0";
}
public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
String[] _ob_v;
_ob_v = org.omg.CORBA.StringSeqHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String[] val)
{
org.omg.CORBA.StringSeqHelper.write(out, val);
}
}
| 4,052 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ParameterHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/Parameter:1.0
//
final public class ParameterHolder implements org.omg.CORBA.portable.Streamable
{
public Parameter value;
public
ParameterHolder()
{
}
public
ParameterHolder(Parameter initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ParameterHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ParameterHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ParameterHelper.type();
}
}
| 4,053 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/Dynamic/ParameterHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.Dynamic;
//
// IDL:omg.org/Dynamic/Parameter:1.0
//
final public class ParameterHelper
{
public static void
insert(org.omg.CORBA.Any any, Parameter val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Parameter
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 = "argument";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_any);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "mode";
members[1].type = org.omg.CORBA.ParameterModeHelper.type();
typeCode_ = orb.create_struct_tc(id(), "Parameter", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/Dynamic/Parameter:1.0";
}
public static Parameter
read(org.omg.CORBA.portable.InputStream in)
{
Parameter _ob_v = new Parameter();
_ob_v.argument = in.read_any();
_ob_v.mode = org.omg.CORBA.ParameterModeHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Parameter val)
{
out.write_any(val.argument);
org.omg.CORBA.ParameterModeHelper.write(out, val.mode);
}
}
| 4,054 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BidirectionalPolicyValueHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BidirectionalPolicyValue:1.0
//
final public class BidirectionalPolicyValueHelper
{
public static void
insert(org.omg.CORBA.Any any, short val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static short
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "BidirectionalPolicyValue", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/BiDirPolicy/BidirectionalPolicyValue:1.0";
}
public static short
read(org.omg.CORBA.portable.InputStream in)
{
short _ob_v;
_ob_v = in.read_ushort();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, short val)
{
out.write_ushort(val);
}
}
| 4,055 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BIDIRECTIONAL_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.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BIDIRECTIONAL_POLICY_TYPE:1.0
//
/***/
public interface BIDIRECTIONAL_POLICY_TYPE
{
int value = (int)(37L);
}
| 4,056 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BOTH.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BOTH:1.0
//
/***/
public interface BOTH
{
short value = (short)(1L);
}
| 4,057 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BidirectionalPolicy.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BidirectionalPolicy:1.0
//
/***/
public interface BidirectionalPolicy extends BidirectionalPolicyOperations,
org.omg.CORBA.Policy
{
}
| 4,058 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BidirectionalPolicyHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BidirectionalPolicy:1.0
//
final public class BidirectionalPolicyHelper
{
public static void
insert(org.omg.CORBA.Any any, BidirectionalPolicy val)
{
any.insert_Object(val, type());
}
public static BidirectionalPolicy
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(), "BidirectionalPolicy");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/BiDirPolicy/BidirectionalPolicy:1.0";
}
public static BidirectionalPolicy
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, BidirectionalPolicy val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static BidirectionalPolicy
narrow(org.omg.CORBA.Object val)
{
try
{
return (BidirectionalPolicy)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,059 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BidirectionalPolicyHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BidirectionalPolicy:1.0
//
final public class BidirectionalPolicyHolder implements org.omg.CORBA.portable.Streamable
{
public BidirectionalPolicy value;
public
BidirectionalPolicyHolder()
{
}
public
BidirectionalPolicyHolder(BidirectionalPolicy initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = BidirectionalPolicyHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
BidirectionalPolicyHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return BidirectionalPolicyHelper.type();
}
}
| 4,060 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/NORMAL.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/NORMAL:1.0
//
/***/
public interface NORMAL
{
short value = (short)(0L);
}
| 4,061 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/BiDirPolicy/BidirectionalPolicyOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.BiDirPolicy;
//
// IDL:omg.org/BiDirPolicy/BidirectionalPolicy:1.0
//
/***/
public interface BidirectionalPolicyOperations extends org.omg.CORBA.PolicyOperations
{
//
// IDL:omg.org/BiDirPolicy/BidirectionalPolicy/value:1.0
//
/***/
short
value();
}
| 4,062 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/BiDirIIOPServiceContextHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/BiDirIIOPServiceContext:1.0
//
final public class BiDirIIOPServiceContextHelper
{
public static void
insert(org.omg.CORBA.Any any, BiDirIIOPServiceContext val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static BiDirIIOPServiceContext
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 = "listen_points";
members[0].type = ListenPointListHelper.type();
typeCode_ = orb.create_struct_tc(id(), "BiDirIIOPServiceContext", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/IIOP/BiDirIIOPServiceContext:1.0";
}
public static BiDirIIOPServiceContext
read(org.omg.CORBA.portable.InputStream in)
{
BiDirIIOPServiceContext _ob_v = new BiDirIIOPServiceContext();
_ob_v.listen_points = ListenPointListHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, BiDirIIOPServiceContext val)
{
ListenPointListHelper.write(out, val.listen_points);
}
}
| 4,063 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPointListHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ListenPointList:1.0
//
final public class ListenPointListHelper
{
public static void
insert(org.omg.CORBA.Any any, ListenPoint[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ListenPoint[]
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(), "ListenPointList", orb.create_sequence_tc(0, ListenPointHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/IIOP/ListenPointList:1.0";
}
public static ListenPoint[]
read(org.omg.CORBA.portable.InputStream in)
{
ListenPoint[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new ListenPoint[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = ListenPointHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ListenPoint[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
ListenPointHelper.write(out, val[i0]);
}
}
| 4,064 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/BiDirIIOPServiceContext.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/BiDirIIOPServiceContext:1.0
//
/***/
final public class BiDirIIOPServiceContext implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/IIOP/BiDirIIOPServiceContext:1.0";
public
BiDirIIOPServiceContext()
{
}
public
BiDirIIOPServiceContext(ListenPoint[] listen_points)
{
this.listen_points = listen_points;
}
public ListenPoint[] listen_points;
}
| 4,065 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ProfileBody_1_1.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ProfileBody_1_1:1.0
//
/***/
final public class ProfileBody_1_1 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/IIOP/ProfileBody_1_1:1.0";
public
ProfileBody_1_1()
{
}
public
ProfileBody_1_1(Version iiop_version,
String host,
short port,
byte[] object_key,
org.omg.IOP.TaggedComponent[] components)
{
this.iiop_version = iiop_version;
this.host = host;
this.port = port;
this.object_key = object_key;
this.components = components;
}
public Version iiop_version;
public String host;
public short port;
public byte[] object_key;
public org.omg.IOP.TaggedComponent[] components;
}
| 4,066 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPointListHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ListenPointList:1.0
//
final public class ListenPointListHolder implements org.omg.CORBA.portable.Streamable
{
public ListenPoint[] value;
public
ListenPointListHolder()
{
}
public
ListenPointListHolder(ListenPoint[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ListenPointListHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ListenPointListHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ListenPointListHelper.type();
}
}
| 4,067 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/BiDirIIOPServiceContextHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/BiDirIIOPServiceContext:1.0
//
final public class BiDirIIOPServiceContextHolder implements org.omg.CORBA.portable.Streamable
{
public BiDirIIOPServiceContext value;
public
BiDirIIOPServiceContextHolder()
{
}
public
BiDirIIOPServiceContextHolder(BiDirIIOPServiceContext initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = BiDirIIOPServiceContextHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
BiDirIIOPServiceContextHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return BiDirIIOPServiceContextHelper.type();
}
}
| 4,068 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ProfileBody_1_0.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ProfileBody_1_0:1.0
//
/***/
final public class ProfileBody_1_0 implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/IIOP/ProfileBody_1_0:1.0";
public
ProfileBody_1_0()
{
}
public
ProfileBody_1_0(Version iiop_version,
String host,
short port,
byte[] object_key)
{
this.iiop_version = iiop_version;
this.host = host;
this.port = port;
this.object_key = object_key;
}
public Version iiop_version;
public String host;
public short port;
public byte[] object_key;
}
| 4,069 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ProfileBody_1_1Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ProfileBody_1_1:1.0
//
final public class ProfileBody_1_1Holder implements org.omg.CORBA.portable.Streamable
{
public ProfileBody_1_1 value;
public
ProfileBody_1_1Holder()
{
}
public
ProfileBody_1_1Holder(ProfileBody_1_1 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ProfileBody_1_1Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ProfileBody_1_1Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ProfileBody_1_1Helper.type();
}
}
| 4,070 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ProfileBody_1_1Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ProfileBody_1_1:1.0
//
final public class ProfileBody_1_1Helper
{
public static void
insert(org.omg.CORBA.Any any, ProfileBody_1_1 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ProfileBody_1_1
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[5];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "iiop_version";
members[0].type = VersionHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "host";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "port";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "object_key";
members[3].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "components";
members[4].type = orb.create_sequence_tc(0, org.omg.IOP.TaggedComponentHelper.type());
typeCode_ = orb.create_struct_tc(id(), "ProfileBody_1_1", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/IIOP/ProfileBody_1_1:1.0";
}
public static ProfileBody_1_1
read(org.omg.CORBA.portable.InputStream in)
{
ProfileBody_1_1 _ob_v = new ProfileBody_1_1();
_ob_v.iiop_version = VersionHelper.read(in);
_ob_v.host = in.read_string();
_ob_v.port = in.read_ushort();
int len0 = in.read_ulong();
_ob_v.object_key = new byte[len0];
in.read_octet_array(_ob_v.object_key, 0, len0);
int len1 = in.read_ulong();
_ob_v.components = new org.omg.IOP.TaggedComponent[len1];
for(int i1 = 0; i1 < len1; i1++)
_ob_v.components[i1] = org.omg.IOP.TaggedComponentHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ProfileBody_1_1 val)
{
VersionHelper.write(out, val.iiop_version);
out.write_string(val.host);
out.write_ushort(val.port);
int len0 = val.object_key.length;
out.write_ulong(len0);
out.write_octet_array(val.object_key, 0, len0);
int len1 = val.components.length;
out.write_ulong(len1);
for(int i1 = 0; i1 < len1; i1++)
org.omg.IOP.TaggedComponentHelper.write(out, val.components[i1]);
}
}
| 4,071 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPoint.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ListenPoint:1.0
//
/***/
final public class ListenPoint implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/IIOP/ListenPoint:1.0";
public ListenPoint(String host, short port) {
this.host = host;
this.port = port;
}
public final String host;
public final short port;
}
| 4,072 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPointHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ListenPoint:1.0
//
final public class ListenPointHolder implements org.omg.CORBA.portable.Streamable
{
public ListenPoint value;
public
ListenPointHolder()
{
}
public
ListenPointHolder(ListenPoint initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ListenPointHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ListenPointHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ListenPointHelper.type();
}
}
| 4,073 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ListenPointHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ListenPoint:1.0
//
final public class ListenPointHelper
{
public static void
insert(org.omg.CORBA.Any any, ListenPoint val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ListenPoint
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 = "host";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "port";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort);
typeCode_ = orb.create_struct_tc(id(), "ListenPoint", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/IIOP/ListenPoint:1.0";
}
public static ListenPoint
read(org.omg.CORBA.portable.InputStream in)
{
return new ListenPoint(in.read_string(), in.read_ushort());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ListenPoint val)
{
out.write_string(val.host);
out.write_ushort(val.port);
}
}
| 4,074 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/VersionHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/Version:1.0
//
final public class VersionHelper
{
public static void
insert(org.omg.CORBA.Any any, Version val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static Version
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 = "major";
members[0].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "minor";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet);
typeCode_ = orb.create_struct_tc(id(), "Version", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/IIOP/Version:1.0";
}
public static Version
read(org.omg.CORBA.portable.InputStream in)
{
Version _ob_v = new Version();
_ob_v.major = in.read_octet();
_ob_v.minor = in.read_octet();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Version val)
{
out.write_octet(val.major);
out.write_octet(val.minor);
}
}
| 4,075 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ProfileBody_1_0Holder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ProfileBody_1_0:1.0
//
final public class ProfileBody_1_0Holder implements org.omg.CORBA.portable.Streamable
{
public ProfileBody_1_0 value;
public
ProfileBody_1_0Holder()
{
}
public
ProfileBody_1_0Holder(ProfileBody_1_0 initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ProfileBody_1_0Helper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ProfileBody_1_0Helper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ProfileBody_1_0Helper.type();
}
}
| 4,076 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/Version.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/Version:1.0
//
/***/
final public class Version implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/IIOP/Version:1.0";
public
Version()
{
}
public
Version(byte major,
byte minor)
{
this.major = major;
this.minor = minor;
}
public byte major;
public byte minor;
}
| 4,077 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/VersionHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/Version:1.0
//
final public class VersionHolder implements org.omg.CORBA.portable.Streamable
{
public Version value;
public
VersionHolder()
{
}
public
VersionHolder(Version initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = VersionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
VersionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return VersionHelper.type();
}
}
| 4,078 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/IIOP/ProfileBody_1_0Helper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.IIOP;
//
// IDL:omg.org/IIOP/ProfileBody_1_0:1.0
//
final public class ProfileBody_1_0Helper
{
public static void
insert(org.omg.CORBA.Any any, ProfileBody_1_0 val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ProfileBody_1_0
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[4];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "iiop_version";
members[0].type = VersionHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "host";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "port";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ushort);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "object_key";
members[3].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
typeCode_ = orb.create_struct_tc(id(), "ProfileBody_1_0", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/IIOP/ProfileBody_1_0:1.0";
}
public static ProfileBody_1_0
read(org.omg.CORBA.portable.InputStream in)
{
ProfileBody_1_0 _ob_v = new ProfileBody_1_0();
_ob_v.iiop_version = VersionHelper.read(in);
_ob_v.host = in.read_string();
_ob_v.port = in.read_ushort();
int len0 = in.read_ulong();
_ob_v.object_key = new byte[len0];
in.read_octet_array(_ob_v.object_key, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ProfileBody_1_0 val)
{
VersionHelper.write(out, val.iiop_version);
out.write_string(val.host);
out.write_ushort(val.port);
int len0 = val.object_key.length;
out.write_ulong(len0);
out.write_octet_array(val.object_key, 0, len0);
}
}
| 4,079 |
0 | 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/DynArray.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 DynArray extends DynArrayOperations,
DynAny
{
}
| 4,080 |
0 | 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/DynArrayHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 class DynArrayHelper
{
public static void
insert(org.omg.CORBA.Any any, DynArray val)
{
any.insert_Object(val, type());
}
public static DynArray
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(), "DynArray");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynArray:1.0";
}
public static DynArray
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynArray val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynArray
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynArray)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynArray
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynArray)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,081 |
0 | 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/DynFixed.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 interface DynFixed extends DynFixedOperations,
DynAny
{
}
| 4,082 |
0 | 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/DynUnionHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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
//
final public class DynUnionHolder implements org.omg.CORBA.portable.Streamable
{
public DynUnion value;
public
DynUnionHolder()
{
}
public
DynUnionHolder(DynUnion initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynUnionHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynUnionHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynUnionHelper.type();
}
}
| 4,083 |
0 | 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/DynValueBoxHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 class DynValueBoxHelper
{
public static void
insert(org.omg.CORBA.Any any, DynValueBox val)
{
any.insert_Object(val, type());
}
public static DynValueBox
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(), "DynValueBox");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynValueBox:1.0";
}
public static DynValueBox
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynValueBox val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynValueBox
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynValueBox)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,084 |
0 | 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/DynEnumHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 class DynEnumHelper
{
public static void
insert(org.omg.CORBA.Any any, DynEnum val)
{
any.insert_Object(val, type());
}
public static DynEnum
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(), "DynEnum");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynEnum:1.0";
}
public static DynEnum
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynEnum val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynEnum
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynEnum)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynEnum
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynEnum)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,085 |
0 | 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/DynEnumHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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
//
final public class DynEnumHolder implements org.omg.CORBA.portable.Streamable
{
public DynEnum value;
public
DynEnumHolder()
{
}
public
DynEnumHolder(DynEnum initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynEnumHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynEnumHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynEnumHelper.type();
}
}
| 4,086 |
0 | 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/DynUnionHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 class DynUnionHelper
{
public static void
insert(org.omg.CORBA.Any any, DynUnion val)
{
any.insert_Object(val, type());
}
public static DynUnion
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(), "DynUnion");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynUnion:1.0";
}
public static DynUnion
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynUnion val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynUnion
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynUnion)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
public static DynUnion
unchecked_narrow(org.omg.CORBA.Object val)
{
try
{
return (DynUnion)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,087 |
0 | 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/DynValueBoxHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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
//
final public class DynValueBoxHolder implements org.omg.CORBA.portable.Streamable
{
public DynValueBox value;
public
DynValueBoxHolder()
{
}
public
DynValueBoxHolder(DynValueBox initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynValueBoxHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynValueBoxHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynValueBoxHelper.type();
}
}
| 4,088 |
0 | 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/DynArrayHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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
//
final public class DynArrayHolder implements org.omg.CORBA.portable.Streamable
{
public DynArray value;
public
DynArrayHolder()
{
}
public
DynArrayHolder(DynArray initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DynArrayHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DynArrayHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DynArrayHelper.type();
}
}
| 4,089 |
0 | 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/DynValueCommonHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 class DynValueCommonHelper
{
public static void
insert(org.omg.CORBA.Any any, DynValueCommon val)
{
any.insert_Object(val, type());
}
public static DynValueCommon
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(), "DynValueCommon");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/DynValueCommon:1.0";
}
public static DynValueCommon
read(org.omg.CORBA.portable.InputStream in)
{
throw new org.omg.CORBA.MARSHAL();
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DynValueCommon val)
{
throw new org.omg.CORBA.MARSHAL();
}
public static DynValueCommon
narrow(org.omg.CORBA.Object val)
{
try
{
return (DynValueCommon)val;
}
catch(ClassCastException ex)
{
}
throw new org.omg.CORBA.BAD_PARAM();
}
}
| 4,090 |
0 | 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/NameDynAnyPairHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 NameDynAnyPairHolder implements org.omg.CORBA.portable.Streamable
{
public NameDynAnyPair value;
public
NameDynAnyPairHolder()
{
}
public
NameDynAnyPairHolder(NameDynAnyPair initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NameDynAnyPairHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NameDynAnyPairHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NameDynAnyPairHelper.type();
}
}
| 4,091 |
0 | 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/MustTruncate.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 MustTruncate extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/DynamicAny/MustTruncate:1.0";
public
MustTruncate()
{
super(_ob_id);
}
public
MustTruncate(String _reason)
{
super(_ob_id + " " + _reason);
}
}
| 4,092 |
0 | 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/FieldNameHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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/FieldName:1.0
//
public class FieldNameHelper
{
public static void
insert(org.omg.CORBA.Any any, String val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "FieldName", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/FieldName:1.0";
}
public static String
read(org.omg.CORBA.portable.InputStream in)
{
String _ob_v;
_ob_v = in.read_string();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String val)
{
out.write_string(val);
}
}
| 4,093 |
0 | 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/NameDynAnyPairSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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/NameDynAnyPairSeq:1.0
//
public class NameDynAnyPairSeqHelper
{
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();
typeCode_ = orb.create_alias_tc(id(), "NameDynAnyPairSeq", orb.create_sequence_tc(0, NameDynAnyPairHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/NameDynAnyPairSeq: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,094 |
0 | 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/DynFixedOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 interface DynFixedOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynFixed/get_value:1.0
//
/***/
String
get_value();
//
// IDL:omg.org/DynamicAny/DynFixed/set_value:1.0
//
/***/
boolean
set_value(String val)
throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
org.omg.DynamicAny.DynAnyPackage.InvalidValue;
}
| 4,095 |
0 | 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/NameValuePairSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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/NameValuePairSeq:1.0
//
public class NameValuePairSeqHelper
{
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();
typeCode_ = orb.create_alias_tc(id(), "NameValuePairSeq", orb.create_sequence_tc(0, NameValuePairHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/DynamicAny/NameValuePairSeq:1.0";
}
public static NameValuePair[]
read(org.omg.CORBA.portable.InputStream in)
{
NameValuePair[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new NameValuePair[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = NameValuePairHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, NameValuePair[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
NameValuePairHelper.write(out, val[i0]);
}
}
| 4,096 |
0 | 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/DynEnumOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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 DynEnumOperations extends DynAnyOperations
{
//
// IDL:omg.org/DynamicAny/DynEnum/get_as_string:1.0
//
/***/
String
get_as_string();
//
// IDL:omg.org/DynamicAny/DynEnum/set_as_string:1.0
//
/***/
void
set_as_string(String value)
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
//
// IDL:omg.org/DynamicAny/DynEnum/get_as_ulong:1.0
//
/***/
int
get_as_ulong();
//
// IDL:omg.org/DynamicAny/DynEnum/set_as_ulong:1.0
//
/***/
void
set_as_ulong(int value)
throws org.omg.DynamicAny.DynAnyPackage.InvalidValue;
}
| 4,097 |
0 | 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/NameValuePairSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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/NameValuePairSeq:1.0
//
final public class NameValuePairSeqHolder implements org.omg.CORBA.portable.Streamable
{
public NameValuePair[] value;
public
NameValuePairSeqHolder()
{
}
public
NameValuePairSeqHolder(NameValuePair[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NameValuePairSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NameValuePairSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NameValuePairSeqHelper.type();
}
}
| 4,098 |
0 | 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/NameDynAnyPairSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS 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/NameDynAnyPairSeq:1.0
//
final public class NameDynAnyPairSeqHolder implements org.omg.CORBA.portable.Streamable
{
public NameDynAnyPair[] value;
public
NameDynAnyPairSeqHolder()
{
}
public
NameDynAnyPairSeqHolder(NameDynAnyPair[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = NameDynAnyPairSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
NameDynAnyPairSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return NameDynAnyPairSeqHelper.type();
}
}
| 4,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.