org.omg.CosTrading.AdminPackage

Class OctetSeqHelper

public class OctetSeqHelper extends Object

Helper class for : OctetSeq

Author: OpenORB Compiler

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

Method Detail

extract

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

Parameters: a an any

Returns: the extracted OctetSeq value

id

public static String id()
Return the OctetSeq IDL ID

Returns: an ID

insert

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

Parameters: a an any t OctetSeq value

read

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

Parameters: istream the input stream

Returns: the readed OctetSeq value

type

public static TypeCode type()
Return the OctetSeq TypeCode

Returns: a TypeCode

write

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

Parameters: ostream the output stream value OctetSeq value