UnicastRemoteObject。
@Deprecated public abstract class RemoteStub extends RemoteObject
RemoteStub类是静态生成的客户端存根共同的基类,提供框架支持多种远程引用语义。存根对象代理,支持完全的远程接口的远程对象的实际实现定义的同一组。
ref| Modifier | Constructor and Description |
|---|---|
protected |
RemoteStub()
过时的。
构建了一个
RemoteStub。
|
protected |
RemoteStub(RemoteRef ref)
过时的。
构建一个与指定的远程参考
RemoteStub。
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
setRef(RemoteStub stub, RemoteRef ref)
过时的。
没有更换。的
setRef方法用于设置远程存根的远程引用。这是不必要的,因为RemoteStubs可以创建并通过使用构造函数初始化的RemoteStub(RemoteRef)远程引用。
|
protected RemoteStub()
RemoteStub。
protected RemoteStub(RemoteRef ref)
RemoteStub。
ref -远程参考
@Deprecated protected static void setRef(RemoteStub stub, RemoteRef ref)
setRef方法用于设置远程存根的远程引用。这是不必要的,因为RemoteStubs可以创建并通过使用构造函数初始化的RemoteStub(RemoteRef)远程引用。
stub -远程存根
ref -远程参考
UnsupportedOperationException -永远
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.