org.omg.Messaging
Class PriorityHelper

java.lang.Object
  extended by org.omg.Messaging.PriorityHelper

public class PriorityHelper
extends java.lang.Object

Helper class for : Priority

Author:
OpenORB Compiler

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

Constructor Detail

PriorityHelper

public PriorityHelper()
Method Detail

insert

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

Parameters:
a - an any
t - Priority value

extract

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

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

type

public static TypeCode type()
Return the Priority TypeCode

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - Priority value