org.omg.IOP

Class ServiceContextHolder

public final class ServiceContextHolder extends Object implements Streamable

A holder for the structure {@link ServiceContext}.
Field Summary
ServiceContextvalue
The stored ServiceContext value.
Constructor Summary
ServiceContextHolder()
Create the unitialised instance, leaving the value field with default null value.
ServiceContextHolder(ServiceContext initialValue)
Create the initialised instance.
Method Summary
void_read(InputStream input)
Fill in the {@link #value} by data from the CDR stream.
TypeCode_type()
Get the typecode of the ServiceContext.
void_write(OutputStream output)
Write the stored value into the CDR stream.

Field Detail

value

public ServiceContext value
The stored ServiceContext value.

Constructor Detail

ServiceContextHolder

public ServiceContextHolder()
Create the unitialised instance, leaving the value field with default null value.

ServiceContextHolder

public ServiceContextHolder(ServiceContext initialValue)
Create the initialised instance.

Parameters: initialValue the value that will be assigned to the value field.

Method Detail

_read

public void _read(InputStream input)
Fill in the {@link #value} by data from the CDR stream.

Parameters: input the org.omg.CORBA.portable stream to read.

_type

public TypeCode _type()
Get the typecode of the ServiceContext.

_write

public void _write(OutputStream output)
Write the stored value into the CDR stream.

Parameters: output the org.omg.CORBA.portable stream to write.