org.omg.CosTransactions
public class ResourceHelper extends Object
Method Summary | |
---|---|
static Resource | extract(Any a)
Extract Resource from an any
|
static String | id()
Return the Resource IDL ID |
static void | insert(Any a, Resource t)
Insert Resource into an any |
static Resource | narrow(Object obj)
Narrow CORBA::Object to Resource |
static Resource | read(InputStream istream)
Read Resource from a marshalled stream |
static TypeCode | type()
Return the Resource TypeCode |
static Resource | unchecked_narrow(Object obj)
Unchecked Narrow CORBA::Object to Resource |
static void | write(OutputStream ostream, Resource value)
Write Resource into a marshalled stream |
Parameters: a an any
Returns: the extracted Resource value
Returns: an ID
Parameters: a an any t Resource value
Parameters: obj the CORBA Object
Returns: Resource Object
Parameters: istream the input stream
Returns: the readed Resource value
Returns: a TypeCode
Parameters: obj the CORBA Object
Returns: Resource Object
Parameters: ostream the output stream value Resource value