Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (obj == null)
return false ;
return obj instanceof WireObjectKeyTemplate ;
|
public byte[] | getAdapterId()Adapter ID is not available, since our
ORB did not implement the object carrying this key.
throw wrapper.adapterIdNotAvailable() ;
|
private byte[] | getId(org.omg.CORBA_2_3.portable.InputStream is)
CDRInputStream cis = (CDRInputStream)is ;
int len = cis.getBufferLength() ;
byte[] result = new byte[ len ] ;
cis.read_octet_array( result, 0, len ) ;
return result ;
|
public java.lang.String | getORBId()
throw wrapper.orbIdNotAvailable() ;
|
public com.sun.corba.se.spi.orb.ORBVersion | getORBVersion()
return ORBVersionFactory.getFOREIGN() ;
|
public com.sun.corba.se.spi.ior.ObjectAdapterId | getObjectAdapterId()
throw wrapper.objectAdapterIdNotAvailable() ;
|
public int | getServerId()While it might make sense to throw an exception here, this causes
problems since we need to check whether unusual object references
are local or not. It seems that the easiest way to handle this is
to return an invalid server id.
return -1 ;
|
public com.sun.corba.se.spi.protocol.CorbaServerRequestDispatcher | getServerRequestDispatcher(com.sun.corba.se.spi.orb.ORB orb, com.sun.corba.se.spi.ior.ObjectId id)
byte[] bid = id.getId() ;
String str = new String( bid ) ;
return orb.getRequestDispatcherRegistry().getServerRequestDispatcher( str ) ;
|
public int | getSubcontractId()
return ORBConstants.DEFAULT_SCID ;
|
public int | hashCode()
return 53 ; // All WireObjectKeyTemplates are the same, so they should
// have the same hashCode.
|
private void | initORB(com.sun.corba.se.spi.orb.ORB orb)
this.orb = orb ;
wrapper = IORSystemException.get( orb,
CORBALogDomains.OA_IOR ) ;
|
public void | write(com.sun.corba.se.spi.ior.ObjectId id, org.omg.CORBA_2_3.portable.OutputStream os)
byte[] key = id.getId() ;
os.write_octet_array( key, 0, key.length ) ;
|
public void | write(org.omg.CORBA_2_3.portable.OutputStream os)
// Does nothing
|