Package com.sun.corba.ee.impl.ior.iiop
Class MaxStreamFormatVersionComponentImpl
- java.lang.Object
-
- com.sun.corba.ee.spi.ior.IdentifiableBase
-
- com.sun.corba.ee.spi.ior.TaggedComponentBase
-
- com.sun.corba.ee.impl.ior.iiop.MaxStreamFormatVersionComponentImpl
-
- All Implemented Interfaces:
Identifiable
,MaxStreamFormatVersionComponent
,TaggedComponent
,Writeable
,WriteContents
public class MaxStreamFormatVersionComponentImpl extends TaggedComponentBase implements MaxStreamFormatVersionComponent
-
-
Field Summary
Fields Modifier and Type Field Description static MaxStreamFormatVersionComponentImpl
singleton
private byte
version
-
Constructor Summary
Constructors Constructor Description MaxStreamFormatVersionComponentImpl()
MaxStreamFormatVersionComponentImpl(byte streamFormatVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getId()
Return the (type) identity of this entity.byte
getMaxStreamFormatVersion()
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
-
version
private byte version
-
singleton
public static final MaxStreamFormatVersionComponentImpl singleton
-
-
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
-
getMaxStreamFormatVersion
public byte getMaxStreamFormatVersion()
- Specified by:
getMaxStreamFormatVersion
in interfaceMaxStreamFormatVersionComponent
-
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
-
-