FileDocCategorySizeDatePackage
AlternateIIOPAddressComponent.javaAPI DocGlassfish v2 API3389Fri May 04 22:34:54 BST 2007com.sun.enterprise.iiop

AlternateIIOPAddressComponent

public final class AlternateIIOPAddressComponent extends Object implements org.omg.CORBA.portable.IDLEntity
AlternateIIOPAddressComponent.java . Generated by the IDL-to-Java compiler (portable), version "3.1" from iorintsockfact.idl and then modified by hand for package name, equals and toString. Tuesday, July 23, 2002 11:08:46 AM PDT

Fields Summary
public static final int
TAG_ALTERNATE_IIOP_ADDRESS_ID
public final String
host
public final short
port
Constructors Summary
public AlternateIIOPAddressComponent()


    
  
    host = null;
    port = 0;
  
public AlternateIIOPAddressComponent(String _host, short _port)

    host = _host;
    port = _port;
  
Methods Summary
public booleanequals(java.lang.Object o)

        if (o == null) {
            return false;
        }
        if (! (o instanceof AlternateIIOPAddressComponent)) {
            return false;
        }
        AlternateIIOPAddressComponent other = (AlternateIIOPAddressComponent)o;
        if (other.port != port) {
            return false;
        }
        if (! other.host.equals(host)) {
            return false;
        }
        return true;
    
public inthashCode()

        return super.hashCode() ^ (host == null ? 0 : host.hashCode()) ^ port;
    
public java.lang.StringtoString()

        return "AlternateIIOPAddressComponent[" + host + " " + port + "]";