org.omg.CosTypedNotifyChannelAdmin
Class KeyHelper

java.lang.Object
  extended by org.omg.CosTypedNotifyChannelAdmin.KeyHelper

public class KeyHelper
extends java.lang.Object

Helper class for : Key

Author:
OpenORB Compiler

Constructor Summary
KeyHelper()
           
 
Method Summary
static java.lang.String extract(org.omg.CORBA.Any a)
          Extract Key from an any
static java.lang.String id()
          Return the Key IDL ID
static void insert(org.omg.CORBA.Any a, java.lang.String t)
          Insert Key into an any
static java.lang.String read(org.omg.CORBA.portable.InputStream istream)
          Read Key from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the Key TypeCode
static void write(org.omg.CORBA.portable.OutputStream ostream, java.lang.String value)
          Write Key into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyHelper

public KeyHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          java.lang.String t)
Insert Key into an any

Parameters:
a - an any
t - Key value

extract

public static java.lang.String extract(org.omg.CORBA.Any a)
Extract Key from an any

Parameters:
a - an any
Returns:
the extracted Key value

type

public static org.omg.CORBA.TypeCode type()
Return the Key TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the Key IDL ID

Returns:
an ID

read

public static java.lang.String read(org.omg.CORBA.portable.InputStream istream)
Read Key from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed Key value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         java.lang.String value)
Write Key into a marshalled stream

Parameters:
ostream - the output stream
value - Key value