javax.rmi.CORBA
public interface StubDelegate
Method Summary | |
---|---|
void | connect(Stub self, ORB orb) Makes the stub ready for remote communication using the given ORB. |
boolean | equals(Stub self, Object obj)
The objects stubs are equal if they refer the same remote object. |
int | hashCode(Stub self)
Get the hashcode fo this delegate. |
void | readObject(Stub self, ObjectInputStream s)
Read this stub from the object input stream. |
String | toString(Stub self)
Get the string representation of this stub. |
void | writeObject(Stub self, ObjectOutputStream s)
Write this stub to the object output stream. |
Makes the stub ready for remote communication using the given ORB.
It is frequently easier to call {@link PortableRemoteObject#connect} rather than this method.
Parameters: orb the ORB where the Stub must be connected.
Throws: RemoteException if the stub is already connected to some other ORB. If the stub is already connected to the ORB that was passed as parameter, the method returns without action.