public abstract class ServiceDetailHelper extends Object
Constructor and Description |
---|
ServiceDetailHelper() |
Modifier and Type | Method and Description |
---|---|
static ServiceDetail |
extract(Any a)
Extract the service detail info from the given
Any |
static String |
id()
Get the service detail repository id.
|
static void |
insert(Any a,
ServiceDetail that)
Insert the service detail into the given
Any . |
static ServiceDetail |
read(InputStream istream)
Read the service detail information from the given CDR
intput stream.
|
static TypeCode |
type()
Get the typecode of the service detail, assuming to be it
a structure with the two fields.
|
static void |
write(OutputStream ostream,
ServiceDetail value)
Write the service detail data to the given CDR output stream.
|
public ServiceDetailHelper()
public static ServiceDetail extract(Any a)
Any
a
- the Any to extract from.BAD_OPERATION
- if the parameter holds something different
from the ServiceDetail.public static String id()
IDL:omg.org/CORBA/ServiceDetail:1.0
, always.public static void insert(Any a, ServiceDetail that)
Any
.a
- the Any to insert into.that
- the detail to insert.public static ServiceDetail read(InputStream istream)
istream
- a stram to read from.public static TypeCode type()
public static void write(OutputStream ostream, ServiceDetail value)
ostream
- a stream to write into.value
- a value to write.