Class MaxStreamFormatVersionServiceContextImpl
- java.lang.Object
-
- com.sun.corba.ee.spi.servicecontext.ServiceContextBase
-
- com.sun.corba.ee.impl.servicecontext.MaxStreamFormatVersionServiceContextImpl
-
- All Implemented Interfaces:
MaxStreamFormatVersionServiceContext
,ServiceContext
public class MaxStreamFormatVersionServiceContextImpl extends ServiceContextBase implements MaxStreamFormatVersionServiceContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.corba.ee.spi.servicecontext.ServiceContext
ServiceContext.Factory
-
-
Field Summary
Fields Modifier and Type Field Description private byte
maxStreamFormatVersion
static MaxStreamFormatVersionServiceContext
singleton
-
Fields inherited from class com.sun.corba.ee.spi.servicecontext.ServiceContextBase
in
-
Fields inherited from interface com.sun.corba.ee.spi.servicecontext.MaxStreamFormatVersionServiceContext
SERVICE_CONTEXT_ID
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MaxStreamFormatVersionServiceContextImpl()
MaxStreamFormatVersionServiceContextImpl(byte maxStreamFormatVersion)
MaxStreamFormatVersionServiceContextImpl(InputStream is, GIOPVersion gv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
Returns Service context id.byte
getMaximumStreamFormatVersion()
java.lang.String
toString()
void
writeData(OutputStream os)
Writes the data used to represent the subclasses service context into an encapsulation stream.-
Methods inherited from class com.sun.corba.ee.spi.servicecontext.ServiceContextBase
write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.corba.ee.spi.servicecontext.ServiceContext
write
-
-
-
-
Field Detail
-
maxStreamFormatVersion
private byte maxStreamFormatVersion
-
singleton
public static final MaxStreamFormatVersionServiceContext singleton
-
-
Constructor Detail
-
MaxStreamFormatVersionServiceContextImpl
private MaxStreamFormatVersionServiceContextImpl()
-
MaxStreamFormatVersionServiceContextImpl
public MaxStreamFormatVersionServiceContextImpl(byte maxStreamFormatVersion)
-
MaxStreamFormatVersionServiceContextImpl
public MaxStreamFormatVersionServiceContextImpl(InputStream is, GIOPVersion gv)
-
-
Method Detail
-
getId
public int getId()
Description copied from class:ServiceContextBase
Returns Service context id. Must be overloaded in subclass.- Specified by:
getId
in interfaceServiceContext
- Specified by:
getId
in classServiceContextBase
- Returns:
- context id
-
writeData
public void writeData(OutputStream os)
Description copied from class:ServiceContextBase
Writes the data used to represent the subclasses service context into an encapsulation stream. Must be overloaded in subclass.- Specified by:
writeData
in classServiceContextBase
- Parameters:
os
- stream to write to
-
getMaximumStreamFormatVersion
public byte getMaximumStreamFormatVersion()
- Specified by:
getMaximumStreamFormatVersion
in interfaceMaxStreamFormatVersionServiceContext
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServiceContextBase
-
-