|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.david.libs.stub_factories.rmi.StubDelegate
This class provides an implementation for StubDelegate.
| Field Summary |
| Fields inherited from interface org.objectweb.david.libs.binding.orbs.Constants |
corba_object_id, corba_prefix, TC_any, TC_boolean, TC_char, TC_double, TC_float, TC_long, TC_longdouble, TC_longlong, TC_null, TC_Object, TC_octet, TC_Principal, TC_short, TC_string, tc_table, TC_TypeCode, TC_ulong, TC_ulonglong, TC_ushort, TC_void, TC_wchar, TC_wstring |
| Constructor Summary | |
StubDelegate()
Constructs a new StubDelegate instance. |
|
| 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)
Returns a string representing the target 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 StubDelegate()
| Method Detail |
public int hashCode(javax.rmi.CORBA.Stub self)
hashCode in interface javax.rmi.CORBA.StubDelegateself - the actual stub.
public boolean equals(javax.rmi.CORBA.Stub self,
java.lang.Object obj)
equals in interface javax.rmi.CORBA.StubDelegateself - the actual stub.obj - an object to compare the target with.
public java.lang.String toString(javax.rmi.CORBA.Stub self)
toString in interface javax.rmi.CORBA.StubDelegateself - the actual stub.
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 actual stub.orb - an ORB;
java.rmi.RemoteException - if something goes wrong.
public void writeObject(javax.rmi.CORBA.Stub self,
java.io.ObjectOutputStream s)
throws java.io.IOException
writeObject in interface javax.rmi.CORBA.StubDelegateself - the actual stub.s - an ObjectOutputStream;
java.io.IOException - if 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 - the actual stub.s - an ObjectInputStream;
java.io.IOException - if an IO error occurs;
java.lang.ClassNotFoundException - if a class can't be found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||