org.openorb.notify.persistence

Class PidHelper

public class PidHelper extends Object

Helper class for : Pid

Author: OpenORB Compiler

Method Summary
static byte[]extract(Any a)
Extract Pid from an any
static Stringid()
Return the Pid IDL ID
static voidinsert(Any a, byte[] t)
Insert Pid into an any
static byte[]read(InputStream istream)
Read Pid from a marshalled stream
static TypeCodetype()
Return the Pid TypeCode
static voidwrite(OutputStream ostream, byte[] value)
Write Pid into a marshalled stream

Method Detail

extract

public static byte[] extract(Any a)
Extract Pid from an any

Parameters: a an any

Returns: the extracted Pid value

id

public static String id()
Return the Pid IDL ID

Returns: an ID

insert

public static void insert(Any a, byte[] t)
Insert Pid into an any

Parameters: a an any t Pid value

read

public static byte[] read(InputStream istream)
Read Pid from a marshalled stream

Parameters: istream the input stream

Returns: the readed Pid value

type

public static TypeCode type()
Return the Pid TypeCode

Returns: a TypeCode

write

public static void write(OutputStream ostream, byte[] value)
Write Pid into a marshalled stream

Parameters: ostream the output stream value Pid value