org.omg.Messaging
Class OrderingHelper

java.lang.Object
  extended byorg.omg.Messaging.OrderingHelper

public class OrderingHelper
extends java.lang.Object

Helper class for : Ordering

Author:
OpenORB Compiler

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

Constructor Detail

OrderingHelper

public OrderingHelper()
Method Detail

insert

public static void insert(Any a,
                          short t)
Insert Ordering into an any

Parameters:
a - an any
t - Ordering value

extract

public static short extract(Any a)
Extract Ordering from an any

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

type

public static TypeCode type()
Return the Ordering TypeCode

Returns:
a TypeCode

id

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

Returns:
an ID

read

public static short read(InputStream istream)
Read Ordering from a marshalled stream

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

write

public static void write(OutputStream ostream,
                         short value)
Write Ordering into a marshalled stream

Parameters:
ostream - the output stream
value - Ordering value