Class UnknownServiceContextImpl
java.lang.Object
com.sun.corba.ee.spi.servicecontext.ServiceContextBase
com.sun.corba.ee.impl.servicecontext.UnknownServiceContextImpl
- All Implemented Interfaces:
ServiceContext,UnknownServiceContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.corba.ee.spi.servicecontext.ServiceContext
ServiceContext.Factory -
Field Summary
FieldsFields inherited from class com.sun.corba.ee.spi.servicecontext.ServiceContextBase
in -
Constructor Summary
ConstructorsConstructorDescriptionUnknownServiceContextImpl(int id, byte[] data) UnknownServiceContextImpl(int id, InputStream is) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()intgetId()Returns Service context id.voidwrite(OutputStream os, GIOPVersion gv) Write the service context to an output stream.voidWrites the data used to represent the subclasses service context into an encapsulation stream.Methods inherited from class com.sun.corba.ee.spi.servicecontext.ServiceContextBase
toString
-
Field Details
-
id
private int id -
data
private byte[] data
-
-
Constructor Details
-
UnknownServiceContextImpl
public UnknownServiceContextImpl(int id, byte[] data) -
UnknownServiceContextImpl
-
-
Method Details
-
getId
public int getId()Description copied from class:ServiceContextBaseReturns Service context id. Must be overloaded in subclass.- Specified by:
getIdin interfaceServiceContext- Specified by:
getIdin classServiceContextBase- Returns:
- context id
-
writeData
Description copied from class:ServiceContextBaseWrites the data used to represent the subclasses service context into an encapsulation stream. Must be overloaded in subclass.- Specified by:
writeDatain classServiceContextBase- Parameters:
os- stream to write to
-
write
Description copied from class:ServiceContextBaseWrite the service context to an output stream. This method must be used for writing the service context to a request or reply header.- Specified by:
writein interfaceServiceContext- Overrides:
writein classServiceContextBase- Parameters:
os- stream to write togv- version of the service context
-
getData
public byte[] getData()- Specified by:
getDatain interfaceUnknownServiceContext
-