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

AlternateIIOPAddressComponentImpl

public class AlternateIIOPAddressComponentImpl extends TaggedComponentBase implements AlternateIIOPAddressComponent
author
Ken Cavanaugh

Fields Summary
private IIOPAddress
addr
Constructors Summary
public AlternateIIOPAddressComponentImpl(IIOPAddress addr)

	this.addr = addr ;
    
Methods Summary
public booleanequals(java.lang.Object obj)

	if (!(obj instanceof AlternateIIOPAddressComponentImpl))
	    return false ;

	AlternateIIOPAddressComponentImpl other = 
	    (AlternateIIOPAddressComponentImpl)obj ;

	return addr.equals( other.addr ) ;
    
public com.sun.corba.se.spi.ior.iiop.IIOPAddressgetAddress()

	return addr ;
    
public intgetId()

	return TAG_ALTERNATE_IIOP_ADDRESS.value ; // 3 in CORBA 2.3.1 13.6.3
    
public inthashCode()

	return addr.hashCode() ;
    
public java.lang.StringtoString()

	return "AlternateIIOPAddressComponentImpl[addr=" + addr + "]" ;
    
public voidwriteContents(org.omg.CORBA_2_3.portable.OutputStream os)

	addr.write( os ) ;