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

📄 objectimpl.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DL><DD>Is invoked by the local stub after the operation  has been invoked on the local servant. This method must be called if _servant_preinvoke() returned a non-null  value, even if an exception was thrown by the servant's method.  For this reason, the call to _servant_postinvoke() should be placed  in a Java finally clause.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>servant</CODE> - the instance of the ServantObject returned from   the servant_preinvoke() method.</DL></DD></DL><HR><A NAME="_request(java.lang.String, boolean)"><!-- --></A><H3>_request</H3><PRE>public <A HREF="../../../../org/omg/CORBA/portable/OutputStream.html">OutputStream</A> <B>_request</B>(<A HREF="../../../../java/lang/String.html">String</A>&nbsp;operation,                             boolean&nbsp;responseExpected)</PRE><DL><DD>_request is called by a stub to obtain an OutputStream for marshaling arguments. The stub must supply the operation name, and indicate if a response is expected (i.e is this a oneway call).<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>operation</CODE> - a String giving the name of the object.<DD><CODE>responseExpected</CODE> - a boolean -- true if request is not one way.<DT><B>Returns:</B><DD>an OutputStream object for dispatching the request.</DL></DD></DL><HR><A NAME="_invoke(org.omg.CORBA.portable.OutputStream)"><!-- --></A><H3>_invoke</H3><PRE>public <A HREF="../../../../org/omg/CORBA/portable/InputStream.html">InputStream</A> <B>_invoke</B>(<A HREF="../../../../org/omg/CORBA/portable/OutputStream.html">OutputStream</A>&nbsp;output)                    throws <A HREF="../../../../org/omg/CORBA/portable/ApplicationException.html">ApplicationException</A>,                           <A HREF="../../../../org/omg/CORBA/portable/RemarshalException.html">RemarshalException</A></PRE><DL><DD>_invoke is called to invoke an operation. The stub provides an OutputStream that was previously returned by a _request() call. _invoke returns an InputStream which contains the marshaled reply. If an exception occurs, _invoke may throw an ApplicationException object which contains an InputStream from which the user exception state may be unmarshaled.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>output</CODE> - an OutputStream object for dispatching the request.<DT><B>Returns:</B><DD>an InputStream object for reading the response.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/omg/CORBA/portable/ApplicationException.html">ApplicationException</A></CODE> - an exception -- thrown if the invocation meets application-defined exception.<DD><CODE><A HREF="../../../../org/omg/CORBA/portable/RemarshalException.html">RemarshalException</A></CODE> - an exception -- thrown if the invocation leads to a remarshalling error.</DL></DD></DL><HR><A NAME="_releaseReply(org.omg.CORBA.portable.InputStream)"><!-- --></A><H3>_releaseReply</H3><PRE>public void <B>_releaseReply</B>(<A HREF="../../../../org/omg/CORBA/portable/InputStream.html">InputStream</A>&nbsp;input)</PRE><DL><DD>_releaseReply may optionally be called by a stub to release a reply stream back to the ORB when the unmarshaling has completed. The stub passes the InputStream returned by _invoke() or ApplicationException.getInputStream(). A null value may also be passed to _releaseReply, in which case the method is a noop.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - an InputStream object that represents handle to the reply.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="../../../../java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></B></DD><DD>Returns a string representation of the object. In general, the  <code>toString</code> method returns a string that  "textually represents" this object. The result should  be a concise but informative representation that is easy for a  person to read. It is recommended that all subclasses override this method. <p> The <code>toString</code> method for class <code>Object</code>  returns a string consisting of the name of the class of which the  object is an instance, the at-sign character `<code>@</code>', and  the unsigned hexadecimal representation of the hash code of the  object. In other words, this method returns a string equal to the  value of: <blockquote> <pre> getClass().getName() + '@' + Integer.toHexString(hashCode()) </pre></blockquote><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.lang.Object</CODE></DD><DD><DL><DT><B>Returns:</B><DD>a string representation of the object.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></B></DD><DD>Returns a hash code value for the object. This method is  supported for the benefit of hashtables such as those provided by  <code>java.util.Hashtable</code>.  <p> The general contract of <code>hashCode</code> is:  <ul> <li>Whenever it is invoked on the same object more than once during      an execution of a Java application, the <tt>hashCode</tt> method      must consistently return the same integer, provided no information      used in <tt>equals</tt> comparisons on the object is modified.     This integer need not remain consistent from one execution of an     application to another execution of the same application.  <li>If two objects are equal according to the <tt>equals(Object)</tt>     method, then calling the <code>hashCode</code> method on each of      the two objects must produce the same integer result.  <li>It is <em>not</em> required that if two objects are unequal      according to the <A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)"><CODE>Object.equals(java.lang.Object)</CODE></A>      method, then calling the <tt>hashCode</tt> method on each of the      two objects must produce distinct integer results.  However, the      programmer should be aware that producing distinct integer results      for unequal objects may improve the performance of hashtables. </ul> <p> As much as is reasonably practical, the hashCode method defined by  class <tt>Object</tt> does return distinct integers for distinct  objects. (This is typically implemented by converting the internal  address of the object into an integer, but this implementation  technique is not required by the  Java<font size="-2"><sup>TM</sup></font> programming language.)<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.lang.Object</CODE></DD><DD><DL><DT><B>Returns:</B><DD>a hash code value for this object.<DT><B>See Also: </B><DD><A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)"><CODE>Object.equals(java.lang.Object)</CODE></A>, <A HREF="../../../../java/util/Hashtable.html"><CODE>Hashtable</CODE></A></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../java/lang/Object.html">Object</A>&nbsp;obj)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></B></DD><DD>Indicates whether some other object is "equal to" this one. <p> The <code>equals</code> method implements an equivalence relation:  <ul> <li>It is <i>reflexive</i>: for any reference value <code>x</code>,      <code>x.equals(x)</code> should return <code>true</code>.  <li>It is <i>symmetric</i>: for any reference values <code>x</code> and      <code>y</code>, <code>x.equals(y)</code> should return      <code>true</code> if and only if <code>y.equals(x)</code> returns      <code>true</code>.  <li>It is <i>transitive</i>: for any reference values <code>x</code>,      <code>y</code>, and <code>z</code>, if <code>x.equals(y)</code>     returns  <code>true</code> and <code>y.equals(z)</code> returns      <code>true</code>, then <code>x.equals(z)</code> should return      <code>true</code>.  <li>It is <i>consistent</i>: for any reference values <code>x</code>      and <code>y</code>, multiple invocations of <tt>x.equals(y)</tt>     consistently return <code>true</code> or consistently return      <code>false</code>, provided no information used in     <code>equals</code> comparisons on the object is modified. <li>For any non-null reference value <code>x</code>,      <code>x.equals(null)</code> should return <code>false</code>. </ul> <p> The <tt>equals</tt> method for class <code>Object</code> implements  the most discriminating possible equivalence relation on objects;  that is, for any reference values <code>x</code> and <code>y</code>,  this method returns <code>true</code> if and only if <code>x</code> and  <code>y</code> refer to the same object (<code>x==y</code> has the  value <code>true</code>).<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD>Following copied from class: <CODE>java.lang.Object</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the reference object with which to compare.<DT><B>Returns:</B><DD><code>true</code> if this object is the same as the obj          argument; <code>false</code> otherwise.<DT><B>See Also: </B><DD><A HREF="../../../../java/lang/Boolean.html#hashCode()"><CODE>Boolean.hashCode()</CODE></A>, <A HREF="../../../../java/util/Hashtable.html"><CODE>Hashtable</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ObjectImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/omg/CORBA/portable/InputStream.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/omg/CORBA/portable/OutputStream.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ObjectImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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