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

📄 request.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <code>ExceptionList</code> object for this request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#get_response()">get_response</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows the user to access the response for the invocation triggered earlier with the <code>send_deferred</code> method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#invoke()">invoke</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes a synchronous invocation using the information in the <code>Request</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#operation()">operation</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the name of the method to be invoked.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#poll_response()">poll_response</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows the user to determine whether a response has been received for the invocation triggered earlier with the <code>send_deferred</code> method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../org/omg/CORBA/NamedValue.html">NamedValue</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#result()">result</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the <code>NamedValue</code> object containing the return value for the method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../org/omg/CORBA/Any.html">Any</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#return_value()">return_value</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <code>Any</code> object that contains the value for the result of the method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#send_deferred()">send_deferred</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes an asynchronous invocation on the request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#send_oneway()">send_oneway</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes a oneway invocation on the request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#set_return_type(org.omg.CORBA.TypeCode)">set_return_type</A></B>(<A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A>&nbsp;tc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the typecode for the return value of the method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/Request.html#target()">target</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the the target object reference.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Request()"><!-- --></A><H3>Request</H3><PRE>public <B>Request</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="target()"><!-- --></A><H3>target</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Object.html">Object</A> <B>target</B>()</PRE><DL><DD>Retrieves the the target object reference.<DD><DL><DT><B>Returns:</B><DD>the object reference that points to the                    object implementation for the method                    to be invoked</DL></DD></DL><HR><A NAME="operation()"><!-- --></A><H3>operation</H3><PRE>public abstract <A HREF="../../../java/lang/String.html">String</A> <B>operation</B>()</PRE><DL><DD>Retrieves the name of the method to be invoked.<DD><DL><DT><B>Returns:</B><DD>the name of the method to be invoked</DL></DD></DL><HR><A NAME="arguments()"><!-- --></A><H3>arguments</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/NVList.html">NVList</A> <B>arguments</B>()</PRE><DL><DD>Retrieves the <code>NVList</code> object containing the arguments to the method being invoked.  The elements in the list are <code>NamedValue</code> objects, with each one describing an argument to the method.<DD><DL><DT><B>Returns:</B><DD>the <code>NVList</code> object containing the arguments			for the method</DL></DD></DL><HR><A NAME="result()"><!-- --></A><H3>result</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/NamedValue.html">NamedValue</A> <B>result</B>()</PRE><DL><DD>Retrieves the <code>NamedValue</code> object containing the return value for the method.<DD><DL><DT><B>Returns:</B><DD>the <code>NamedValue</code> object containing the result				of the method</DL></DD></DL><HR><A NAME="env()"><!-- --></A><H3>env</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Environment.html">Environment</A> <B>env</B>()</PRE><DL><DD>Retrieves the <code>Environment</code> object for this request. It contains the exception that the method being invoked has thrown (after the invocation returns).<DD><DL><DT><B>Returns:</B><DD>the <code>Environment</code> object for this request</DL></DD></DL><HR><A NAME="exceptions()"><!-- --></A><H3>exceptions</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/ExceptionList.html">ExceptionList</A> <B>exceptions</B>()</PRE><DL><DD>Retrieves the <code>ExceptionList</code> object for this request. This list contains <code>TypeCode</code> objects describing the exceptions that may be thrown by the method being invoked.<DD><DL><DT><B>Returns:</B><DD>the <code>ExceptionList</code> object describing the exceptions            that may be thrown by the method being invoked</DL></DD></DL><HR><A NAME="contexts()"><!-- --></A><H3>contexts</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/ContextList.html">ContextList</A> <B>contexts</B>()</PRE><DL><DD>Retrieves the <code>ContextList</code> object for this request. This list contains context <code>String</code>s that need to be resolved and sent with the invocation.<DD><DL><DT><B>Returns:</B><DD>the list of context strings whose values				need to be resolved and sent with the				invocation.</DL></DD></DL><HR><A NAME="ctx()"><!-- --></A><H3>ctx</H3><PRE>public abstract <A HREF="../../../org/omg/CORBA/Context.html">Context</A> <B>ctx</B>()</PRE><DL>

⌨️ 快捷键说明

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