messageunithelper.java
来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 51 行
JAVA
51 行
package org.xmlBlaster.protocol.corba.serverIdl;/** * Generated from IDL definition of struct "MessageUnit" * @author JacORB IDL compiler */public final class MessageUnitHelper{ private static org.omg.CORBA.TypeCode _type = null; public static org.omg.CORBA.TypeCode type () { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_struct_tc(org.xmlBlaster.protocol.corba.serverIdl.MessageUnitHelper.id(),"MessageUnit",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("xmlKey", org.xmlBlaster.protocol.corba.serverIdl.XmlTypeHelper.type(), null),new org.omg.CORBA.StructMember("content", org.xmlBlaster.protocol.corba.serverIdl.ContentTypeHelper.type(), null),new org.omg.CORBA.StructMember("qos", org.xmlBlaster.protocol.corba.serverIdl.XmlTypeHelper.type(), null)}); } return _type; } public static void insert (final org.omg.CORBA.Any any, final org.xmlBlaster.protocol.corba.serverIdl.MessageUnit s) { any.type(type()); write( any.create_output_stream(),s); } public static org.xmlBlaster.protocol.corba.serverIdl.MessageUnit extract (final org.omg.CORBA.Any any) { return read(any.create_input_stream()); } public static String id() { return "IDL:org.xmlBlaster.protocol.corba/serverIdl/MessageUnit:1.0"; } public static org.xmlBlaster.protocol.corba.serverIdl.MessageUnit read (final org.omg.CORBA.portable.InputStream in) { org.xmlBlaster.protocol.corba.serverIdl.MessageUnit result = new org.xmlBlaster.protocol.corba.serverIdl.MessageUnit(); result.xmlKey=in.read_string(); result.content = org.xmlBlaster.protocol.corba.serverIdl.ContentTypeHelper.read(in); result.qos=in.read_string(); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.xmlBlaster.protocol.corba.serverIdl.MessageUnit s) { out.write_string(s.xmlKey); org.xmlBlaster.protocol.corba.serverIdl.ContentTypeHelper.write(out,s.content); out.write_string(s.qos); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?