FileDocCategorySizeDatePackage
JIDLObjectKeyTemplate.javaAPI DocJava SE 5 API1776Fri Aug 26 14:54:22 BST 2005com.sun.corba.se.impl.ior

JIDLObjectKeyTemplate

public final class JIDLObjectKeyTemplate extends NewObjectKeyTemplateBase
author
Ken Cavanaugh

Fields Summary
Constructors Summary
public JIDLObjectKeyTemplate(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(), JIDL_ORB_ID, JIDL_OAID );

	setORBVersion( is ) ;
    
public JIDLObjectKeyTemplate(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(), JIDL_ORB_ID, JIDL_OAID );

	osh.value = readObjectKey( is ) ;

	setORBVersion( is ) ;
    
public JIDLObjectKeyTemplate(com.sun.corba.se.spi.orb.ORB orb, int scid, int serverid)

	super( orb, ObjectKeyFactoryImpl.JAVAMAGIC_NEWER, scid, serverid, 
	    JIDL_ORB_ID, JIDL_OAID ) ; 

	setORBVersion( ORBVersionFactory.getORBVersion() ) ;
    
Methods Summary
protected voidwriteTemplate(org.omg.CORBA_2_3.portable.OutputStream os)

	os.write_long( getMagic() ) ;
	os.write_long( getSubcontractId() ) ;
	os.write_long( getServerId() ) ;