org.omg.PortableInterceptor

Class ServerIdHelper

public abstract class ServerIdHelper extends Object

The Server Id is defined in OMG specification just as a narrow (not wide) string. As such, the Server Id needs no helper, but one is included in the API anyway.

Since: 1.5

Method Summary
static Stringextract(Any a)
Extract the Server Id from Any ((uses Any).
static Stringid()
Return the Server Id repository id.
static voidinsert(Any a, String that)
Insert the Server Id into Any (uses Any).
static Stringread(InputStream input)
Calls read_string.
static TypeCodetype()
Return an alias typecode.
static voidwrite(OutputStream output, String value)
Calls write_string.

Method Detail

extract

public static String extract(Any a)
Extract the Server Id from Any ((uses Any).

Parameters: a the Any to extract from.

id

public static String id()
Return the Server Id repository id.

Returns: "IDL:omg.org/PortableInterceptor/ServerId:1.0", always.

insert

public static void insert(Any a, String that)
Insert the Server Id into Any (uses Any).

Parameters: a the Any to insert into. that the string to insert.

read

public static String read(InputStream input)
Calls read_string.

Parameters: input the stream to read from.

type

public static TypeCode type()
Return an alias typecode.

write

public static void write(OutputStream output, String value)
Calls write_string.

Parameters: output the stream to write into. value the string (Server Id) value to write.