org.omg.Messaging

Class SyncScopeHelper

public abstract class SyncScopeHelper extends Object

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

See Also: SYNC_WITH_TRANSPORT

Method Summary
static shortextract(Any a)
Delegates call to {@link Any#extract_short()}.
static Stringid()
Returns synchronization scope repository id.
static voidinsert(Any a, short that)
Delegates call to {@link Any#insert_short(short)}.
static shortread(InputStream istream)
Delegates call to {@link InputStream#read_short()}.
static TypeCodetype()
Returns a typecode of the synchronization scope, stating it is an alias of short, named "SyncScope".
static voidwrite(OutputStream ostream, short value)
Delegates call to {@link OutputStream#write_short(short)}.

Method Detail

extract

public static short extract(Any a)
Delegates call to {@link 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 {@link Any#insert_short(short)}.

read

public static short read(InputStream istream)
Delegates call to {@link 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 {@link OutputStream#write_short(short)}.