org.omg.CORBA

Class _IDLTypeStub

public class _IDLTypeStub extends ObjectImpl implements IDLType, Serializable

The stub for the IDL type. This stub can be used to access the remote IDL type object, if its IOR is known. To create the working instance with the known IOR, pass {@link gnu.CORBA.IorDelegate} to the constructor.
Constructor Summary
_IDLTypeStub()
Create the instance of the IDL type stub without the set delegate.
_IDLTypeStub(Delegate delegate)
Create an instance with the given delegate.
Method Summary
DefinitionKinddef_kind()
Get the definition kind of the remote IDL type object.
voiddestroy()
Destroy the remote IDL type object.
TypeCodetype()
Get the typecode of the remote IDL type object.
String[]_ids()
Return the array of repository ids of the IDL type.

Constructor Detail

_IDLTypeStub

public _IDLTypeStub()
Create the instance of the IDL type stub without the set delegate. The delegate must be set anyway before calling any remote method.

_IDLTypeStub

public _IDLTypeStub(Delegate delegate)
Create an instance with the given delegate.

See Also: gnu.CORBA.IorDelegate

Method Detail

def_kind

public DefinitionKind def_kind()
Get the definition kind of the remote IDL type object. The method is written following OMG specification, treating the typecode as a read only attribute rather than a method. This means, the operation name is "_get_def_kind".

Returns: a definition kind, returned by remote IDL type object.

destroy

public void destroy()
Destroy the remote IDL type object.

type

public TypeCode type()
Get the typecode of the remote IDL type object. The method is written following OMG specification, treating the typecode as a read only attribute rather than a method. This means, the operation name is "_get_type".

Returns: a typecode, returned by the remote IDL type object.

_ids

public String[] _ids()
Return the array of repository ids of the IDL type.

Returns: "IDL:omg.org/CORBA/IDLType:1.0" and "IDL:omg.org/CORBA/IRObject:1.0", always.