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

📄 unicastremoteobject.html

📁 请笑纳 请笑纳 请笑纳 请笑纳 请笑纳 请笑纳
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/rmi/server/RemoteObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/rmi/server/RemoteObject.html#getRef()">getRef</A>, <A HREF="../../../java/rmi/server/RemoteObject.html#hashCode()">hashCode</A>, <A HREF="../../../java/rmi/server/RemoteObject.html#toString()">toString</A>, <A HREF="../../../java/rmi/server/RemoteObject.html#toStub(java.rmi.Remote)">toStub</A></CODE></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.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</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="UnicastRemoteObject()"><!-- --></A><H3>UnicastRemoteObject</H3><PRE>protected <B>UnicastRemoteObject</B>()                       throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Create and export a new UnicastRemoteObject object using an anonymous port.<DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if failed to export object<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="UnicastRemoteObject(int)"><!-- --></A><H3>UnicastRemoteObject</H3><PRE>protected <B>UnicastRemoteObject</B>(int&nbsp;port)                       throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Create and export a new UnicastRemoteObject object using the particular supplied port.<DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port number on which the remote object receives calls (if <code>port</code> is zero, an anonymous port is chosen)<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if failed to export object<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="UnicastRemoteObject(int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)"><!-- --></A><H3>UnicastRemoteObject</H3><PRE>protected <B>UnicastRemoteObject</B>(int&nbsp;port,                              <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A>&nbsp;csf,                              <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A>&nbsp;ssf)                       throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Create and export a new UnicastRemoteObject object using the particular supplied port and socket factories.<DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - the port number on which the remote object receives calls (if <code>port</code> is zero, an anonymous port is chosen)<DD><CODE>csf</CODE> - the client-side socket factory for making calls to the remote object<DD><CODE>ssf</CODE> - the server-side socket factory for receiving remote calls<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if failed to export object<DT><B>Since: </B><DD>1.2</DD></DL></DD></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="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()                       throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the remote object that is distinct from the original.<DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the new remote object<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if clone failed due to a RemoteException.<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="exportObject(java.rmi.Remote)"><!-- --></A><H3>exportObject</H3><PRE>public static <A HREF="../../../java/rmi/server/RemoteStub.html">RemoteStub</A> <B>exportObject</B>(<A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj)                               throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Export the remote object to make it available to receive incoming calls, using an anonymous port.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the remote object to be exported<DT><B>Returns:</B><DD>remote object stub<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if export fails<DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="exportObject(java.rmi.Remote, int)"><!-- --></A><H3>exportObject</H3><PRE>public static <A HREF="../../../java/rmi/Remote.html">Remote</A> <B>exportObject</B>(<A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj,                                  int&nbsp;port)                           throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Export the remote object to make it available to receive incoming calls, using the particular supplied port.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the remote object to be exported<DD><CODE>port</CODE> - the port to export the object on<DT><B>Returns:</B><DD>remote object stub<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if export fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="exportObject(java.rmi.Remote, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)"><!-- --></A><H3>exportObject</H3><PRE>public static <A HREF="../../../java/rmi/Remote.html">Remote</A> <B>exportObject</B>(<A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj,                                  int&nbsp;port,                                  <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A>&nbsp;csf,                                  <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A>&nbsp;ssf)                           throws <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></PRE><DL><DD>Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the remote object to be exported<DD><CODE>port</CODE> - the port to export the object on<DD><CODE>csf</CODE> - the client-side socket factory for making calls to the remote object<DD><CODE>ssf</CODE> - the server-side socket factory for receiving remote calls<DT><B>Returns:</B><DD>remote object stub<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE> - if export fails<DT><B>Since: </B><DD>1.2</DD></DL></DD></DL><HR><A NAME="unexportObject(java.rmi.Remote, boolean)"><!-- --></A><H3>unexportObject</H3><PRE>public static boolean <B>unexportObject</B>(<A HREF="../../../java/rmi/Remote.html">Remote</A>&nbsp;obj,                                     boolean&nbsp;force)                              throws <A HREF="../../../java/rmi/NoSuchObjectException.html">NoSuchObjectException</A></PRE><DL><DD>Remove the remote object, obj, from the RMI runtime. If successful, the object can no longer accept incoming RMI calls. If the force parameter is true, the object is forcibly unexported even if there are pending calls to the remote object or the remote object still has calls in progress.  If the force parameter is false, the object is only unexported if there are no pending or in progress calls to the object.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the remote object to be unexported<DD><CODE>force</CODE> - if true, unexports the object even if there are pending or in-progress calls; if false, only unexports the object if there are no pending or in-progress calls<DT><B>Returns:</B><DD>true if operation is successful, false otherwise<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/rmi/NoSuchObjectException.html">NoSuchObjectException</A></CODE> - if the remote object is not currently exported<DT><B>Since: </B><DD>1.2</DD></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="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>J2ME RMI Optional Package</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../java/rmi/server/UID.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="UnicastRemoteObject.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;<A HREF="#fields_inherited_from_class_java.rmi.server.RemoteObject">FIELD</A>&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">Copyright 1994-2002 Sun Microsystems, Inc. All Rights Reserved.</font> </BODY></HTML>

⌨️ 快捷键说明

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