org.omg.CosTypedNotifyChannelAdmin

Class KeyHelper

public class KeyHelper extends Object

Helper class for : Key

Author: OpenORB Compiler

Method Summary
static Stringextract(Any a)
Extract Key from an any
static Stringid()
Return the Key IDL ID
static voidinsert(Any a, String t)
Insert Key into an any
static Stringread(InputStream istream)
Read Key from a marshalled stream
static TypeCodetype()
Return the Key TypeCode
static voidwrite(OutputStream ostream, String value)
Write Key into a marshalled stream

Method Detail

extract

public static String extract(Any a)
Extract Key from an any

Parameters: a an any

Returns: the extracted Key value

id

public static String id()
Return the Key IDL ID

Returns: an ID

insert

public static void insert(Any a, String t)
Insert Key into an any

Parameters: a an any t Key value

read

public static String read(InputStream istream)
Read Key from a marshalled stream

Parameters: istream the input stream

Returns: the readed Key value

type

public static TypeCode type()
Return the Key TypeCode

Returns: a TypeCode

write

public static void write(OutputStream ostream, String value)
Write Key into a marshalled stream

Parameters: ostream the output stream value Key value