messageunitarrhelper.java
来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 60 行
JAVA
60 行
package org.xmlBlaster.protocol.corba.serverIdl;/** * Generated from IDL definition of alias "MessageUnitArr" * @author JacORB IDL compiler */public final class MessageUnitArrHelper{ private static org.omg.CORBA.TypeCode _type = null; public static void insert (org.omg.CORBA.Any any, 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 org.omg.CORBA.TypeCode type () { if (_type == null) { _type = org.omg.CORBA.ORB.init().create_alias_tc(org.xmlBlaster.protocol.corba.serverIdl.MessageUnitArrHelper.id(), "MessageUnitArr",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.xmlBlaster.protocol.corba.serverIdl.MessageUnitHelper.type())); } return _type; } public static String id() { return "IDL:org.xmlBlaster.protocol.corba/serverIdl/MessageUnitArr: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; int _l_result2 = _in.read_long(); _result = new org.xmlBlaster.protocol.corba.serverIdl.MessageUnit[_l_result2]; for (int i=0;i<_result.length;i++) { _result[i]=org.xmlBlaster.protocol.corba.serverIdl.MessageUnitHelper.read(_in); } return _result; } public static void write (final org.omg.CORBA.portable.OutputStream _out, org.xmlBlaster.protocol.corba.serverIdl.MessageUnit[] _s) { _out.write_long(_s.length); for (int i=0; i<_s.length;i++) { org.xmlBlaster.protocol.corba.serverIdl.MessageUnitHelper.write(_out,_s[i]); } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?