Package com.sun.corba.ee.impl.ior.iiop
Class AlternateIIOPAddressComponentImpl
- java.lang.Object
-
- com.sun.corba.ee.spi.ior.IdentifiableBase
-
- com.sun.corba.ee.spi.ior.TaggedComponentBase
-
- com.sun.corba.ee.impl.ior.iiop.AlternateIIOPAddressComponentImpl
-
- All Implemented Interfaces:
Identifiable
,AlternateIIOPAddressComponent
,TaggedComponent
,Writeable
,WriteContents
public class AlternateIIOPAddressComponentImpl extends TaggedComponentBase implements AlternateIIOPAddressComponent
-
-
Field Summary
Fields Modifier and Type Field Description private IIOPAddress
addr
-
Constructor Summary
Constructors Constructor Description AlternateIIOPAddressComponentImpl(IIOPAddress addr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
IIOPAddress
getAddress()
int
getId()
Return the (type) identity of this entity.int
hashCode()
java.lang.String
toString()
void
writeContents(OutputStream os)
-
Methods inherited from class com.sun.corba.ee.spi.ior.TaggedComponentBase
getIOPComponent
-
Methods inherited from class com.sun.corba.ee.spi.ior.IdentifiableBase
write
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.corba.ee.spi.ior.TaggedComponent
getIOPComponent
-
-
-
-
Field Detail
-
addr
private IIOPAddress addr
-
-
Constructor Detail
-
AlternateIIOPAddressComponentImpl
public AlternateIIOPAddressComponentImpl(IIOPAddress addr)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAddress
public IIOPAddress getAddress()
- Specified by:
getAddress
in interfaceAlternateIIOPAddressComponent
-
writeContents
public void writeContents(OutputStream os)
- Specified by:
writeContents
in interfaceWriteContents
-
getId
public int getId()
Description copied from interface:Identifiable
Return the (type) identity of this entity.- Specified by:
getId
in interfaceIdentifiable
- Returns:
- int
-
-