|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.openorb.orb.rmi.StubDelegateImpl
public class StubDelegateImpl
This class provides a default implementation for javax.rmi.CORBA.StubDelegate
| Constructor Summary | |
|---|---|
StubDelegateImpl()
Empty constructor. |
|
StubDelegateImpl(org.omg.IOP.IOR ior)
Construct delegate with IOR. |
|
| Method Summary | |
|---|---|
void |
connect(javax.rmi.CORBA.Stub self,
org.omg.CORBA.ORB orb)
This method makes the stub ready for remote communication using the specified ORB object. |
boolean |
equals(javax.rmi.CORBA.Stub self,
java.lang.Object obj)
The equals method shall return true when used to compare stubs that represent the same remote object. |
int |
hashCode(javax.rmi.CORBA.Stub self)
This method shall return the same hashcode for all stubs that represent the same remote object. |
void |
readObject(javax.rmi.CORBA.Stub self,
java.io.ObjectInputStream s)
This method supports stub deserialization by restoring the IOR associated with the stub. |
java.lang.String |
toString(javax.rmi.CORBA.Stub self)
This method shall return the same string for all stubs that represent the same remote object. |
void |
writeObject(javax.rmi.CORBA.Stub self,
java.io.ObjectOutputStream s)
This method supports stub serialization by saving the IOR associated with the stub. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StubDelegateImpl()
public StubDelegateImpl(org.omg.IOP.IOR ior)
ior - The ior for which to create a stub.| Method Detail |
|---|
public int hashCode(javax.rmi.CORBA.Stub self)
hashCode in interface javax.rmi.CORBA.StubDelegateself - A stub for which to generated a hash code.
public boolean equals(javax.rmi.CORBA.Stub self,
java.lang.Object obj)
equals in interface javax.rmi.CORBA.StubDelegateself - The stub to check.obj - The object to check against the stub.
public java.lang.String toString(javax.rmi.CORBA.Stub self)
toString in interface javax.rmi.CORBA.StubDelegateself - The stub for which to get a description.
public void connect(javax.rmi.CORBA.Stub self,
org.omg.CORBA.ORB orb)
throws java.rmi.RemoteException
connect in interface javax.rmi.CORBA.StubDelegateself - The stub to connect to the ORB.orb - The orb to connect the stub to.
java.rmi.RemoteException - When an error occurs.
public void writeObject(javax.rmi.CORBA.Stub self,
java.io.ObjectOutputStream s)
throws java.io.IOException
writeObject in interface javax.rmi.CORBA.StubDelegateself - The stub to write.s - The output stream to write the stub to.
java.io.IOException - When an IO error occurs.
public void readObject(javax.rmi.CORBA.Stub self,
java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
readObject in interface javax.rmi.CORBA.StubDelegateself - ??? (not used)s - The input stream to read from.
java.io.IOException - When an IO error occurs.
java.lang.ClassNotFoundException - When the type of the read object can't be found.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||