org.omg.Messaging
Class SyncScopeHelper

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

public abstract class SyncScopeHelper
extends Object

A helper operations for synchronization scope as an alias of short.

See Also:
SYNC_WITH_TRANSPORT

Constructor Summary
SyncScopeHelper()
           
 
Method Summary
static short extract(Any a)
          Delegates call to Any.extract_short().
static String id()
          Returns synchronization scope repository id.
static void insert(Any a, short that)
          Delegates call to Any.insert_short(short).
static short read(InputStream istream)
          Delegates call to InputStream.read_short().
static TypeCode type()
          Returns a typecode of the synchronization scope, stating it is an alias of short, named "SyncScope".
static void write(OutputStream ostream, short value)
          Delegates call to OutputStream.write_short(short).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncScopeHelper

public SyncScopeHelper()
Method Detail

extract

public static short extract(Any a)
Delegates call to Any.extract_short().


id

public static String id()
Returns synchronization scope repository id.

Returns:
"IDL:omg.org/Messaging/SyncScope:1.0", always.

insert

public static void insert(Any a,
                          short that)
Delegates call to Any.insert_short(short).


read

public static short read(InputStream istream)
Delegates call to InputStream.read_short().


type

public static TypeCode type()
Returns a typecode of the synchronization scope, stating it is an alias of short, named "SyncScope".

Returns:
a typecode of synchronization scope.

write

public static void write(OutputStream ostream,
                         short value)
Delegates call to OutputStream.write_short(short).