|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The implementation delegate class for javax.rmi.CORBA.Stub must implement the following interface for per-instance delegation.
| Method Summary | |
void |
connect(Stub self,
ORB orb)
This method makes the stub ready for remote communication using the specified ORB object. |
boolean |
equals(Stub self,
Object obj)
The equals method shall return true when used to compare stubs that represent the same remote object. |
int |
hashCode(Stub self)
This method shall return the same hashcode for all stubs that represent the same remote object. |
void |
readObject(Stub self,
ObjectInputStream s)
This method supports stub deserialization by restoring the IOR associated with the stub. |
String |
toString(Stub self)
Returns a string representing the target object. |
void |
writeObject(Stub self,
ObjectOutputStream s)
This method supports stub serialization by saving the IOR associated with the stub. |
| Method Detail |
public int hashCode(Stub self)
self - the actual stub.
public boolean equals(Stub self,
Object obj)
self - the actual stub.obj - an object to compare the target with.public String toString(Stub self)
self - the actual stub.
public void connect(Stub self,
ORB orb)
throws RemoteException
self - the actual stub.orb - an ORB;RemoteException - if something goes wrong.
public void writeObject(Stub self,
ObjectOutputStream s)
throws IOException
self - the actual stub.s - an ObjectOutputStream;IOException - if an IO error occurs.
public void readObject(Stub self,
ObjectInputStream s)
throws IOException,
ClassNotFoundException
self - the actual stub.s - an ObjectInputStream;IOException - if an IO error occurs;ClassNotFoundException - if a class can't be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||