⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orb.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
 back to a CORBA object reference.<DD><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - the string to be converted back to an object reference.  It must be the result of converting an object reference to a string using the method <code>object_to_string</code>.<DT><B>Returns:</B><DD>the object reference</DL></DD></DL><HR><A NAME="create_list(int)"><!-- --></A><H3>create_list</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/NVList.html">NVList</A> <B>create_list</B>(int&nbsp;count)</PRE><DL><DD>Allocates an <code>NVList</code> with (probably) enough space for the specified number of <code>NamedValue</code> objects. Note that the specified size is only a hint to help with storage allocation and does not imply the maximum size of the list.<DD><DL><DT><B>Parameters:</B><DD><CODE>count</CODE> - suggested number of <code>NamedValue</code> objects for               which to allocate space<DT><B>Returns:</B><DD>the newly-created <code>NVList</code><DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/NVList.html"><CODE>NVList</CODE></A></DL></DD></DL><HR><A NAME="create_operation_list(org.omg.CORBA.Object)"><!-- --></A><H3>create_operation_list</H3><PRE>public <A HREF="../../../org/omg/CORBA/NVList.html">NVList</A> <B>create_operation_list</B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A>&nbsp;oper)</PRE><DL><DD>Creates an <code>NVList</code> initialized with argument descriptions for the operation described in the given <code>OperationDef</code> object.  This <code>OperationDef</code> object is obtained from an Interface Repository. The arguments in the returned <code>NVList</code> object are in the same order as in the original IDL operation definition, which makes it possible for the list to be used in dynamic invocation requests.<DD><DL><DT><B>Parameters:</B><DD><CODE>oper</CODE> - the <code>OperationDef</code> object to use to create the list<DT><B>Returns:</B><DD>a newly-created <code>NVList</code> object containing descriptions of the arguments to the method described in the given <code>OperationDef</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/NVList.html"><CODE>NVList</CODE></A></DL></DD></DL><HR><A NAME="create_named_value(java.lang.String, org.omg.CORBA.Any, int)"><!-- --></A><H3>create_named_value</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/NamedValue.html">NamedValue</A> <B>create_named_value</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;s,                                              <A HREF="../../../org/omg/CORBA/Any.html">Any</A>&nbsp;any,                                              int&nbsp;flags)</PRE><DL><DD>Creates a <code>NamedValue</code> object using the given name, value, and argument mode flags. <P> A <code>NamedValue</code> object serves as (1) a parameter or return value or (2) a context property. It may be used by itself or as an element in an <code>NVList</code> object.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the name of the <code>NamedValue</code> object<DD><CODE>any</CODE> - the <code>Any</code> value to be inserted into the             <code>NamedValue</code> object<DD><CODE>flags</CODE> - the argument mode flags for the <code>NamedValue</code>: one of <code>ARG_IN.value</code>, <code>ARG_OUT.value</code>, or <code>ARG_INOUT.value</code>.<DT><B>Returns:</B><DD>the newly-created <code>NamedValue</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/NamedValue.html"><CODE>NamedValue</CODE></A></DL></DD></DL><HR><A NAME="create_exception_list()"><!-- --></A><H3>create_exception_list</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/ExceptionList.html">ExceptionList</A> <B>create_exception_list</B>()</PRE><DL><DD>Creates an empty <code>ExceptionList</code> object.<DD><DL><DT><B>Returns:</B><DD>the newly-created <code>ExceptionList</code> object</DL></DD></DL><HR><A NAME="create_context_list()"><!-- --></A><H3>create_context_list</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/ContextList.html">ContextList</A> <B>create_context_list</B>()</PRE><DL><DD>Creates an empty <code>ContextList</code> object.<DD><DL><DT><B>Returns:</B><DD>the newly-created <code>ContextList</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/ContextList.html"><CODE>ContextList</CODE></A>, <A HREF="../../../org/omg/CORBA/Context.html"><CODE>Context</CODE></A></DL></DD></DL><HR><A NAME="get_default_context()"><!-- --></A><H3>get_default_context</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Context.html">Context</A> <B>get_default_context</B>()</PRE><DL><DD>Gets the default <code>Context</code> object.<DD><DL><DT><B>Returns:</B><DD>the default <code>Context</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/Context.html"><CODE>Context</CODE></A></DL></DD></DL><HR><A NAME="create_environment()"><!-- --></A><H3>create_environment</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Environment.html">Environment</A> <B>create_environment</B>()</PRE><DL><DD>Creates an <code>Environment</code> object.<DD><DL><DT><B>Returns:</B><DD>the newly-created <code>Environment</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/Environment.html"><CODE>Environment</CODE></A></DL></DD></DL><HR><A NAME="create_output_stream()"><!-- --></A><H3>create_output_stream</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/portable/OutputStream.html">OutputStream</A> <B>create_output_stream</B>()</PRE><DL><DD>Creates a new <code>org.omg.CORBA.portable.OutputStream</code> into which IDL method parameters can be marshalled during method invocation.<DD><DL><DT><B>Returns:</B><DD>the newly-created              <code>org.omg.CORBA.portable.OutputStream</code> object</DL></DD></DL><HR><A NAME="send_multiple_requests_oneway(org.omg.CORBA.Request[])"><!-- --></A><H3>send_multiple_requests_oneway</H3><PRE>public abstract void <B>send_multiple_requests_oneway</B>(<A HREF="../../../org/omg/CORBA/Request.html">Request</A>[]&nbsp;req)</PRE><DL><DD>Sends multiple dynamic (DII) requests asynchronously without expecting any responses. Note that oneway invocations are not guaranteed to reach the server.<DD><DL><DT><B>Parameters:</B><DD><CODE>req</CODE> - an array of request objects</DL></DD></DL><HR><A NAME="send_multiple_requests_deferred(org.omg.CORBA.Request[])"><!-- --></A><H3>send_multiple_requests_deferred</H3><PRE>public abstract void <B>send_multiple_requests_deferred</B>(<A HREF="../../../org/omg/CORBA/Request.html">Request</A>[]&nbsp;req)</PRE><DL><DD>Sends multiple dynamic (DII) requests asynchronously.<DD><DL><DT><B>Parameters:</B><DD><CODE>req</CODE> - an array of <code>Request</code> objects</DL></DD></DL><HR><A NAME="poll_next_response()"><!-- --></A><H3>poll_next_response</H3><PRE>public abstract boolean <B>poll_next_response</B>()</PRE><DL><DD>Finds out if any of the deferred (asynchronous) invocations have a response yet.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if there is a response available;         <code> false</code> otherwise</DL></DD></DL><HR><A NAME="get_next_response()"><!-- --></A><H3>get_next_response</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Request.html">Request</A> <B>get_next_response</B>()                                   throws <A HREF="../../../org/omg/CORBA/WrongTransaction.html">WrongTransaction</A></PRE><DL><DD>Gets the next <code>Request</code> instance for which a response has been received.<DD><DL><DT><B>Returns:</B><DD>the next <code>Request</code> object ready with a response<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/WrongTransaction.html">WrongTransaction</A></CODE> - if the method <code>get_next_response</code> is called from a transaction scope different from the one from which the original request was sent. See the OMG Transaction Service specification for details.</DL></DD></DL><HR><A NAME="get_primitive_tc(org.omg.CORBA.TCKind)"><!-- --></A><H3>get_primitive_tc</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>get_primitive_tc</B>(<A HREF="../../../org/omg/CORBA/TCKind.html">TCKind</A>&nbsp;tcKind)</PRE><DL><DD>Retrieves the <code>TypeCode</code> object that represents the given primitive IDL type.<DD><DL><DT><B>Parameters:</B><DD><CODE>tcKind</CODE> - the <code>TCKind</code> instance corresponding to the                  desired primitive type<DT><B>Returns:</B><DD>the requested <code>TypeCode</code> object</DL></DD></DL><HR><A NAME="create_struct_tc(java.lang.String, java.lang.String, org.omg.CORBA.StructMember[])"><!-- --></A><H3>create_struct_tc</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>create_struct_tc</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;id,                                          <A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                                          <A HREF="../../../org/omg/CORBA/StructMember.html">StructMember</A>[]&nbsp;members)</PRE><DL><DD>Creates a <code>TypeCode</code> object representing an IDL <code>struct</code>. The <code>TypeCode</code> object is initialized with the given id, name, and members.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the repository id for the <code>struct</code><DD><CODE>name</CODE> - the name of the <code>struct</code><DD><CODE>members</CODE> - an array describing the members of the <code>struct</code><DT><B>Returns:</B><DD>a newly-created <code>TypeCode</code> object describing              an IDL <code>struct</code></DL></DD></DL><HR><A NAME="create_union_tc(java.lang.String, java.lang.String, org.omg.CORBA.TypeCode, org.omg.CORBA.UnionMember[])"><!-- --></A><H3>create_union_tc</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>create_union_tc</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;id,                                         <A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                                         <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A>&nbsp;discriminator_type,                                         <A HREF="../../../org/omg/CORBA/UnionMember.html">UnionMember</A>[]&nbsp;members)</PRE><DL><DD>Creates a <code>TypeCode</code> object representing an IDL <code>union</code>. The <code>TypeCode</code> object is initialized with the given id, name, discriminator type, and members.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the repository id of the <code>union</code><DD><CODE>name</CODE> - the name of the <code>union</code><DD><CODE>discriminator_type</CODE> - the type of the <code>union</code> discriminator<DD><CODE>members</CODE> - an array describing the members of the <code>union</code><DT><B>Returns:</B><DD>a newly-created <code>TypeCode</code> object describing              an IDL <code>union</code></DL></DD></DL><HR><A NAME="create_enum_tc(java.lang.String, java.lang.String, java.lang.String[])"><!-- --></A><H3>create_enum_tc</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>create_enum_tc</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;id,                                        <A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                                        <A HREF="../../../java/lang/String.html">String</A>[]&nbsp;members)</PRE><DL><DD>Creates a <code>TypeCode</code> object representing an IDL <code>enum</code>. The <code>TypeCode</code> object is initialized with the given id, name, and members.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the repository id for the <code>enum</code><DD><CODE>name</CODE> - the name for the <code>enum</code><DD><CODE>members</CODE> - an array describing the members of the <code>enum</code><DT><B>Returns:</B><DD>a newly-created <code>TypeCode</code> object describing              an IDL <code>enum</code></DL></DD></DL><HR><A NAME="create_alias_tc(java.lang.String, java.lang.String, org.omg.CORBA.TypeCode)"><!-- --></A><H3>create_alias_tc</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>create_alias_tc</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;id,                                         <A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                                         <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A>&nbsp;original_type)</PRE><DL><DD>Creates a <code>TypeCode</code> object representing an IDL <code>alias</code> (<code>typedef</code>). The <code>TypeCode</code> object is initialized with the given id, name, and original type.<DD><DL><DT><B>Parameters:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -