@Deprecated public interface ServerRef extends RemoteRef
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
过时的。
表明JDK 1.1类X版本的兼容性。
|
packagePrefix
Modifier and Type | Method and Description |
---|---|
RemoteStub |
exportObject(Remote obj, Object data)
过时的。
为所提供的远程对象创建一个客户端存根对象。
|
String |
getClientHost()
过时的。
返回当前客户端的主机名。
|
done, getRefClass, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToString
readExternal, writeExternal
static final long serialVersionUID
RemoteStub exportObject(Remote obj, Object data) throws RemoteException
obj
-远程对象的实现
data
信息必要的出口对象
RemoteException
-如果发生异常企图出口对象(例如,存根类不能被发现)
String getClientHost() throws ServerNotActiveException
ServerNotActiveException
如果服务远程方法调用外部调用
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.