POAObjectKeyTemplatepublic final class POAObjectKeyTemplate extends NewObjectKeyTemplateBase
Constructors Summary |
---|
public POAObjectKeyTemplate(com.sun.corba.se.spi.orb.ORB orb, int magic, int scid, org.omg.CORBA_2_3.portable.InputStream is)This constructor reads the template ONLY from the stream.
super( orb, magic, scid, is.read_long(), is.read_string(),
new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ;
setORBVersion( is ) ;
| public POAObjectKeyTemplate(com.sun.corba.se.spi.orb.ORB orb, int magic, int scid, org.omg.CORBA_2_3.portable.InputStream is, org.omg.CORBA.OctetSeqHolder osh)This constructor reads a complete ObjectKey (template and Id)
from the stream.
super( orb, magic, scid, is.read_long(), is.read_string(),
new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ;
osh.value = readObjectKey( is ) ;
setORBVersion( is ) ;
| public POAObjectKeyTemplate(com.sun.corba.se.spi.orb.ORB orb, int scid, int serverid, String orbid, com.sun.corba.se.spi.ior.ObjectAdapterId objectAdapterId)
super( orb, ObjectKeyFactoryImpl.JAVAMAGIC_NEWER, scid, serverid, orbid,
objectAdapterId ) ;
setORBVersion( ORBVersionFactory.getORBVersion() ) ;
|
Methods Summary |
---|
public void | writeTemplate(org.omg.CORBA_2_3.portable.OutputStream os)
os.write_long( getMagic() ) ;
os.write_long( getSubcontractId() ) ;
os.write_long( getServerId() ) ;
os.write_string( getORBId() ) ;
getObjectAdapterId().write( os ) ;
|
|