|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omg.CORBA.PolicyTypeHelper
public abstract class PolicyTypeHelper
A helper operations for the policy type. A policy type is an integer constant and needs no helper, but the one is included to to facilitate the automated code handling.
ORB, having the PolicyType type. These parameters
are declarded as | Constructor Summary | |
|---|---|
PolicyTypeHelper()
|
|
| Method Summary | |
|---|---|
static int |
extract(Any any)
Extract the int from given Any. |
static String |
id()
Get the int repository id. |
static void |
insert(Any any,
int that)
Insert the int into the given Any. |
static int |
read(InputStream input)
Read the int (policy type) from the CDR intput stream. |
static TypeCode |
type()
Create the PolicyType typecode (alias of CORBA ulong, named "PolicyType". |
static void |
write(OutputStream output,
int value)
Write the int (policy type) to the CDR output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyTypeHelper()
| Method Detail |
|---|
public static TypeCode type()
public static void insert(Any any,
int that)
public static int extract(Any any)
BAD_OPERATION - if the passed Any does not contain int.public static String id()
public static int read(InputStream input)
input - a org.omg.CORBA.portable stream to read from.
public static void write(OutputStream output,
int value)
output - a org.omg.CORBA.portable stream stream to write into.value - a value to write.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||