Methods Summary |
---|
public com.sun.corba.se.spi.ior.TaggedProfile | create(com.sun.corba.se.spi.ior.ObjectKeyTemplate oktemp, com.sun.corba.se.spi.ior.ObjectId id)
return IIOPFactories.makeIIOPProfile( orb, oktemp, id, this ) ;
|
public boolean | equals(java.lang.Object obj)
if (!(obj instanceof IIOPProfileTemplateImpl))
return false ;
IIOPProfileTemplateImpl other = (IIOPProfileTemplateImpl)obj ;
return super.equals( obj ) && giopVersion.equals( other.giopVersion ) &&
primary.equals( other.primary ) ;
|
public com.sun.corba.se.spi.ior.iiop.GIOPVersion | getGIOPVersion()
return giopVersion ;
|
public int | getId()
return TAG_INTERNET_IOP.value ;
|
public com.sun.corba.se.spi.ior.iiop.IIOPAddress | getPrimaryAddress()
return primary ;
|
public int | hashCode()
return super.hashCode() ^ giopVersion.hashCode() ^ primary.hashCode() ;
|
public boolean | isEquivalent(com.sun.corba.se.spi.ior.TaggedProfileTemplate temp)
if (!(temp instanceof IIOPProfileTemplateImpl))
return false ;
IIOPProfileTemplateImpl tempimp = (IIOPProfileTemplateImpl)temp ;
return primary.equals( tempimp.primary ) ;
|
public void | write(com.sun.corba.se.spi.ior.ObjectKeyTemplate okeyTemplate, com.sun.corba.se.spi.ior.ObjectId id, org.omg.CORBA_2_3.portable.OutputStream os)
giopVersion.write( os ) ;
primary.write( os ) ;
// Note that this is NOT an encapsulation: do not marshal
// the endianness flag. However, the length is required.
// Note that this cannot be accomplished with a codec!
// Use the byte order of the given stream
OutputStream encapsulatedOS = new EncapsOutputStream( (ORB)os.orb(),
((CDROutputStream)os).isLittleEndian() ) ;
okeyTemplate.write( id, encapsulatedOS ) ;
EncapsulationUtility.writeOutputStream( encapsulatedOS, os ) ;
if (giopVersion.getMinor() > 0)
EncapsulationUtility.writeIdentifiableSequence( this, os ) ;
|
public void | writeContents(org.omg.CORBA_2_3.portable.OutputStream os)Write out this IIOPProfileTemplateImpl only.
giopVersion.write( os ) ;
primary.write( os ) ;
if (giopVersion.getMinor() > 0)
EncapsulationUtility.writeIdentifiableSequence( this, os ) ;
|