public abstract class Stub extends ObjectImpl implements Serializable
| Constructor and Description |
|---|
Stub() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(ORB orb)
连接这株球。
|
boolean |
equals(Object obj)
比较两个相等的存根。
|
int |
hashCode()
返回这是所有存根代表相同的远程对象相同的对象的哈希码值。
|
String |
toString()
返回此存根的字符串表示形式。
|
_get_codebase_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_overridepublic int hashCode()
hashCode 方法重写,继承类
ObjectImpl
Object.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)
public boolean equals(Object obj)
true存根代表相同的远程对象,并
false否则。
equals 方法重写,继承类
ObjectImpl
obj -参考对象的比较。
true如果这个对象是作为
obj参数相同;
false否则。
Object.hashCode(),
HashMap
public String toString()
toString 方法重写,继承类
ObjectImpl
public void connect(ORB orb) throws RemoteException
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote)。
orb -球连接。
RemoteException如果存根已经连接到一个不同的球,或如果短并不代表出口远程或本地对象。
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.