org.openorb.notify.persistence
Class PidHelper
java.lang.Object
|
+--org.openorb.notify.persistence.PidHelper
- public class PidHelper
- extends java.lang.Object
Helper class for : Pid
- Author:
- OpenORB Compiler
|
Method Summary |
static byte[] |
extract(org.omg.CORBA.Any a)
Extract Pid from an any |
static java.lang.String |
id()
Return the Pid IDL ID |
static void |
insert(org.omg.CORBA.Any a,
byte[] t)
Insert Pid into an any |
static byte[] |
read(org.omg.CORBA.portable.InputStream istream)
Read Pid from a marshalled stream |
static org.omg.CORBA.TypeCode |
type()
Return the Pid TypeCode |
static void |
write(org.omg.CORBA.portable.OutputStream ostream,
byte[] value)
Write Pid into a marshalled stream |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PidHelper
public PidHelper()
insert
public static void insert(org.omg.CORBA.Any a,
byte[] t)
- Insert Pid into an any
- Parameters:
a - an anyt - Pid value
extract
public static byte[] extract(org.omg.CORBA.Any a)
- Extract Pid from an any
- Parameters:
a - an any- Returns:
- the extracted Pid value
type
public static org.omg.CORBA.TypeCode type()
- Return the Pid TypeCode
- Returns:
- a TypeCode
id
public static java.lang.String id()
- Return the Pid IDL ID
- Returns:
- an ID
read
public static byte[] read(org.omg.CORBA.portable.InputStream istream)
- Read Pid from a marshalled stream
- Parameters:
istream - the input stream- Returns:
- the readed Pid value
write
public static void write(org.omg.CORBA.portable.OutputStream ostream,
byte[] value)
- Write Pid into a marshalled stream
- Parameters:
ostream - the output streamvalue - Pid value