39 |
package gnu.CORBA.Poa; |
package gnu.CORBA.Poa; |
40 |
|
|
41 |
import gnu.CORBA.GIOP.ReplyHeader; |
import gnu.CORBA.GIOP.ReplyHeader; |
42 |
import gnu.CORBA.IOR_Delegate; |
import gnu.CORBA.IorDelegate; |
43 |
import gnu.CORBA.IOR_contructed_object; |
import gnu.CORBA.IorObject; |
44 |
import gnu.CORBA.Interceptor.gnuServerRequestInfo; |
import gnu.CORBA.Interceptor.gnuServerRequestInfo; |
45 |
import gnu.CORBA.typecodes.RecordTypeCode; |
import gnu.CORBA.typecodes.RecordTypeCode; |
46 |
import gnu.CORBA.IOR; |
import gnu.CORBA.IOR; |
784 |
gnuServantObject g = (gnuServantObject) other; |
gnuServantObject g = (gnuServantObject) other; |
785 |
return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); |
return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); |
786 |
} |
} |
787 |
else if (other instanceof IOR_contructed_object) |
else if (other instanceof IorObject) |
788 |
{ |
{ |
789 |
IOR_contructed_object ir = ((IOR_contructed_object) other); |
IorObject ir = ((IorObject) other); |
790 |
try |
try |
791 |
{ |
{ |
792 |
IOR_Delegate ird = (IOR_Delegate) ir._get_delegate(); |
IorDelegate ird = (IorDelegate) ir._get_delegate(); |
793 |
byte[] ior_id = poa.idFormIor(ird.getIor().key); |
byte[] ior_id = poa.idFormIor(ird.getIor().key); |
794 |
if (ior_id != null && Arrays.equals(ior_id, Id)) |
if (ior_id != null && Arrays.equals(ior_id, Id)) |
795 |
{ |
{ |