@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)
已弃用
为所提供的Remote对象创建客户端存根对象。
|
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.