public abstract class CompletionStatusHelper extends Object
CompletionStatus
.Constructor and Description |
---|
CompletionStatusHelper() |
Modifier and Type | Method and Description |
---|---|
static CompletionStatus |
extract(Any a)
Extract the
CompletionStatus from the
given Any . |
static String |
id()
Returns the agreed Id.
|
static void |
insert(Any into,
CompletionStatus that)
Insert into the given
CompletionStatus into the
given Any . |
static CompletionStatus |
read(InputStream input)
Reads the
CompletionStatus from the CORBA input stream. |
static TypeCode |
type()
Get the parameter mode typecode (enumeration, named "CompletionStatus").
|
static void |
write(OutputStream output,
CompletionStatus status)
Writes the
CompletionStatus into the given stream. |
public CompletionStatusHelper()
public static CompletionStatus extract(Any a)
CompletionStatus
from the
given Any
. This implementation expects
the integer (Corba long) value, stating the completion
status.a
- an Any to extract the completion status from.public static String id()
IDL:omg.org/CORBA/CompletionStatus:1.0
, always.public static void insert(Any into, CompletionStatus that)
CompletionStatus
into the
given Any
. This implementation inserts it as an
integer (CORBA long).into
- the target Any.that
- the CompletionStatus
to insert.public static CompletionStatus read(InputStream input)
CompletionStatus
from the CORBA input stream.
This implementation reads an an integer (CORBA long).input
- the CORBA (not java.io) stream to read from.public static void write(OutputStream output, CompletionStatus status)
CompletionStatus
into the given stream.
This implementation writes an int (CORBA long), corresponding
the status of completion.output
- the CORBA (not java.io) output stream to write.status
- the value that must be written.