FileDocCategorySizeDatePackage
POAObjectKeyTemplate.javaAPI DocJava SE 5 API2021Fri Aug 26 14:54:24 BST 2005com.sun.corba.se.impl.ior

POAObjectKeyTemplate

public final class POAObjectKeyTemplate extends NewObjectKeyTemplateBase
author

Fields Summary
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 voidwriteTemplate(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 ) ;