|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StubDelegate
A delegate, implementing the functionality, provided by the Stub
.
The default delegate can be altered by setting the system property
"javax.rmi.CORBA.StubClass" to the name of the alternative class that must
implement 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. |
Method Detail |
---|
void connect(Stub self, ORB orb) throws RemoteException
Makes the stub ready for remote communication using the given ORB.
It is frequently easier to call PortableRemoteObject#connect
rather
than this method.
orb
- the ORB where the Stub must be connected.
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.boolean equals(Stub self, Object obj)
int hashCode(Stub self)
void readObject(Stub self, ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
void writeObject(Stub self, ObjectOutputStream s) throws IOException
IOException
String toString(Stub self)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |