📄 orb.html
字号:
<BR> Creates a <code>TypeCode</code> object representing an IDL <code>struct</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#create_union_tc(java.lang.String, java.lang.String, org.omg.CORBA.TypeCode, org.omg.CORBA.UnionMember[])">create_union_tc</A></B>(<A HREF="../../../java/lang/String.html">String</A> id, <A HREF="../../../java/lang/String.html">String</A> name, <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> discriminator_type, <A HREF="../../../org/omg/CORBA/UnionMember.html">UnionMember</A>[] members)</CODE><BR> Creates a <code>TypeCode</code> object representing an IDL <code>union</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#create_value_box_tc(java.lang.String, java.lang.String, org.omg.CORBA.TypeCode)">create_value_box_tc</A></B>(<A HREF="../../../java/lang/String.html">String</A> id, <A HREF="../../../java/lang/String.html">String</A> name, <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> boxed_type)</CODE><BR> Creates a <code>TypeCode</code> object for an IDL value box.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#create_value_tc(java.lang.String, java.lang.String, short, org.omg.CORBA.TypeCode, org.omg.CORBA.ValueMember[])">create_value_tc</A></B>(<A HREF="../../../java/lang/String.html">String</A> id, <A HREF="../../../java/lang/String.html">String</A> name, short type_modifier, <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A> concrete_base, <A HREF="../../../org/omg/CORBA/ValueMember.html">ValueMember</A>[] members)</CODE><BR> Create a <code>TypeCode</code> object for an IDL value type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#create_wstring_tc(int)">create_wstring_tc</A></B>(int bound)</CODE><BR> Creates a <code>TypeCode</code> object representing a bounded IDL <code>wstring</code> (wide string).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#destroy()">destroy</A></B>()</CODE><BR> Destroys the ORB instance and frees all the resources under an ORB instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#disconnect(org.omg.CORBA.Object)">disconnect</A></B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A> obj)</CODE><BR> Disconnects the given servant object from the ORB.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/Current.html">Current</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#get_current()">get_current</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use resolve_initial_references.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/Context.html">Context</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#get_default_context()">get_default_context</A></B>()</CODE><BR> Gets the default <code>Context</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/Request.html">Request</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#get_next_response()">get_next_response</A></B>()</CODE><BR> Gets the next <code>Request</code> instance for which a response has been received.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#get_primitive_tc(org.omg.CORBA.TCKind)">get_primitive_tc</A></B>(<A HREF="../../../org/omg/CORBA/TCKind.html">TCKind</A> tcKind)</CODE><BR> Retrieves the <code>TypeCode</code> object that represents the given primitive IDL type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#get_service_information(short, org.omg.CORBA.ServiceInformationHolder)">get_service_information</A></B>(short service_type, <A HREF="../../../org/omg/CORBA/ServiceInformationHolder.html">ServiceInformationHolder</A> service_info)</CODE><BR> See package comments regarding unimplemented features.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../org/omg/CORBA/ORB.html">ORB</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#init()">init</A></B>()</CODE><BR> Returns the <code>ORB</code> singleton object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../org/omg/CORBA/ORB.html">ORB</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#init(java.applet.Applet, java.util.Properties)">init</A></B>(<A HREF="../../../java/applet/Applet.html">Applet</A> app, <A HREF="../../../java/util/Properties.html">Properties</A> props)</CODE><BR> Creates a new <code>ORB</code> instance for an applet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../org/omg/CORBA/ORB.html">ORB</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#init(java.lang.String[], java.util.Properties)">init</A></B>(<A HREF="../../../java/lang/String.html">String</A>[] args, <A HREF="../../../java/util/Properties.html">Properties</A> props)</CODE><BR> Creates a new <code>ORB</code> instance for a standalone application.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../java/lang/String.html">String</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#list_initial_services()">list_initial_services</A></B>()</CODE><BR> Returns a list of the initially available CORBA object references, such as "NameService" and "InterfaceRepository".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#object_to_string(org.omg.CORBA.Object)">object_to_string</A></B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A> obj)</CODE><BR> Converts the given CORBA object reference to a string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#perform_work()">perform_work</A></B>()</CODE><BR> Performs an implementation-dependent unit of work if called by the main thread.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#poll_next_response()">poll_next_response</A></B>()</CODE><BR> Finds out if any of the deferred (asynchronous) invocations have a response yet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#resolve_initial_references(java.lang.String)">resolve_initial_references</A></B>(<A HREF="../../../java/lang/String.html">String</A> object_name)</CODE><BR> Resolves a specific object reference from the set of available initial service names.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#run()">run</A></B>()</CODE><BR> This operation returns when the ORB has shutdown.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#send_multiple_requests_deferred(org.omg.CORBA.Request[])">send_multiple_requests_deferred</A></B>(<A HREF="../../../org/omg/CORBA/Request.html">Request</A>[] req)</CODE><BR> Sends multiple dynamic (DII) requests asynchronously.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#send_multiple_requests_oneway(org.omg.CORBA.Request[])">send_multiple_requests_oneway</A></B>(<A HREF="../../../org/omg/CORBA/Request.html">Request</A>[] req)</CODE><BR> Sends multiple dynamic (DII) requests asynchronously without expecting any responses.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#set_parameters(java.applet.Applet, java.util.Properties)">set_parameters</A></B>(<A HREF="../../../java/applet/Applet.html">Applet</A> app, <A HREF="../../../java/util/Properties.html">Properties</A> props)</CODE><BR> Allows the ORB implementation to be initialized with the given applet and parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#set_parameters(java.lang.String[], java.util.Properties)">set_parameters</A></B>(<A HREF="../../../java/lang/String.html">String</A>[] args, <A HREF="../../../java/util/Properties.html">Properties</A> props)</CODE><BR> Allows the ORB implementation to be initialized with the given parameters and properties.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#shutdown(boolean)">shutdown</A></B>(boolean wait_for_completion)</CODE><BR> Instructs the ORB to shut down, which causes all object adapters to shut down.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#string_to_object(java.lang.String)">string_to_object</A></B>(<A HREF="../../../java/lang/String.html">String</A> str)</CODE><BR> Converts a string produced by the method <code>object_to_string</code> back to a CORBA object reference.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/ORB.html#work_pending()">work_pending</A></B>()</CODE><BR> Returns <code>true</code> if the ORB needs the main thread to perform some work, and <code>false</code> if the ORB does not need the main thread.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -