📄 remote.html
字号:
<TD><CODE><B>Registry.</B><B><A HREF="../../../java/rmi/registry/Registry.html#rebind(java.lang.String, java.rmi.Remote)">rebind</A></B>(<A HREF="../../../java/lang/String.html">String</A> name, <A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Rebinds the specified name to a new remote object.</TD></TR></TABLE> <P><A NAME="java.rmi.server"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/rmi/Remote.html">Remote</A> in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A> that implement <A HREF="../../../java/rmi/Remote.html">Remote</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/RemoteObject.html">RemoteObject</A></B></CODE><BR> The <code>RemoteObject</code> class implements the <code>java.lang.Object</code> behavior for remote objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/RemoteServer.html">RemoteServer</A></B></CODE><BR> The <code>RemoteServer</code> class is the common superclass to server implementations and provides the framework to support a wide range of remote reference semantics.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/RemoteStub.html">RemoteStub</A></B></CODE><BR> The <code>RemoteStub</code> class is the common superclass to client stubs and provides the framework to support a wide range of remote reference semantics.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html">UnicastRemoteObject</A></B></CODE><BR> The UnicastRemoteObject class defines a non-replicated remote object whose references are valid only while the server process is alive.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A> that return <A HREF="../../../java/rmi/Remote.html">Remote</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>RemoteObject.</B><B><A HREF="../../../java/rmi/server/RemoteObject.html#toStub(java.rmi.Remote)">toStub</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Returns the stub for the remote object <code>obj</code> passed as a parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote, int)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, int port)</CODE><BR> Export the remote object to make it available to receive incoming calls, using the particular supplied port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, int port, <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A> csf, <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A> ssf)</CODE><BR> Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A> with parameters of type <A HREF="../../../java/rmi/Remote.html">Remote</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>RemoteObject.</B><B><A HREF="../../../java/rmi/server/RemoteObject.html#toStub(java.rmi.Remote)">toStub</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Returns the stub for the remote object <code>obj</code> passed as a parameter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/server/RemoteStub.html">RemoteStub</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Export the remote object to make it available to receive incoming calls, using an anonymous port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote, int)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, int port)</CODE><BR> Export the remote object to make it available to receive incoming calls, using the particular supplied port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, int port, <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A> csf, <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A> ssf)</CODE><BR> Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#unexportObject(java.rmi.Remote, boolean)">unexportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, boolean force)</CODE><BR> Remove the remote object, obj, from the RMI runtime.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B>RemoteRef.</B><B><A HREF="../../../java/rmi/server/RemoteRef.html#invoke(java.rmi.Remote, java.lang.reflect.Method, java.lang.Object[], long)">invoke</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, <A HREF="../../../java/lang/reflect/Method.html">Method</A> method, <A HREF="../../../java/lang/Object.html">Object</A>[] params, long opnum)</CODE><BR> Invoke a method.</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>Skeleton.</B><B><A HREF="../../../java/rmi/server/Skeleton.html#dispatch(java.rmi.Remote, java.rmi.server.RemoteCall, int, long)">dispatch</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, <A HREF="../../../java/rmi/server/RemoteCall.html">RemoteCall</A> theCall, int opnum, long hash)</CODE><BR> <B>Deprecated.</B> <I>no replacement</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/rmi/server/RemoteStub.html">RemoteStub</A></CODE></FONT></TD><TD><CODE><B>ServerRef.</B><B><A HREF="../../../java/rmi/server/ServerRef.html#exportObject(java.rmi.Remote, java.lang.Object)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, <A HREF="../../../java/lang/Object.html">Object</A> data)</CODE><BR> Creates a client stub object for the supplied Remote object.</TD></TR></TABLE> <P><A NAME="javax.rmi"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/rmi/Remote.html">Remote</A> in <A HREF="../../../javax/rmi/package-summary.html">javax.rmi</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/rmi/package-summary.html">javax.rmi</A> that return <A HREF="../../../java/rmi/Remote.html">Remote</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>PortableRemoteObject.</B><B><A HREF="../../../javax/rmi/PortableRemoteObject.html#toStub(java.rmi.Remote)">toStub</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Returns a stub for the given server object.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/rmi/package-summary.html">javax.rmi</A> with parameters of type <A HREF="../../../java/rmi/Remote.html">Remote</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>PortableRemoteObject.</B><B><A HREF="../../../javax/rmi/PortableRemoteObject.html#exportObject(java.rmi.Remote)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Makes a server object ready to receive remote calls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -