gov.llnl.sidl
Class BaseClass
- BaseInterface
public abstract class BaseClass
extends RuntimeException
Class BaseClass
is the base class for all sidl Java classes
in the run-time system. This class provides support for dymaic loading,
Java JNI name registration, and reference counting.
BaseClass(long ior) - Construct a
BaseClass object and initialize the IOR
reference to point to a valid sidl IOR structure.
|
BaseInterface | _cast2(String name) - Cast this object to the specified sidl name.
|
long | _cast_ior(String name) - Cast this object to the specified type and return the IOR pointer.
|
String | _getURL() - Returns the URL of this object
|
long | _get_ior() - Retrieve a reference to the sidl IOR structure.
|
boolean | _isLocal() - Returns true if this object is locally implemented, false otherwise
|
boolean | _isRemote() - Returns true if this object is remotely implemented, false otherwise
|
static void | _registerNatives(String sidl_symbol) - Register native functions for the sidl interface or class specified in
the argument.
|
protected void | finalize() - The finalizer of this method decreases the IOR reference count to
this Java object and then calls other finalizers in the chain.
|
d_ior
protected long d_ior
BaseClass
protected BaseClass(long ior)
Construct a BaseClass
object and initialize the IOR
reference to point to a valid sidl IOR structure.
_cast2
public final BaseInterface _cast2(String name)
Cast this object to the specified sidl name. If the cast is invalid,
then return null. If the cast is successful, then the returned object
can be cast to the proper Java type using a standard Java cast.
- _cast2 in interface BaseInterface
_cast_ior
public final long _cast_ior(String name)
Cast this object to the specified type and return the IOR pointer.
_getURL
public final String _getURL()
Returns the URL of this object
- _getURL in interface BaseInterface
_get_ior
public final long _get_ior()
Retrieve a reference to the sidl IOR structure.
- _get_ior in interface BaseInterface
_isLocal
public final boolean _isLocal()
Returns true if this object is locally implemented, false otherwise
- _isLocal in interface BaseInterface
_isRemote
public final boolean _isRemote()
Returns true if this object is remotely implemented, false otherwise
- _isRemote in interface BaseInterface
_registerNatives
public static void _registerNatives(String sidl_symbol)
Register native functions for the sidl interface or class specified in
the argument. This method must be called before any native method is
called on the Java object representing the sidl symbol.
finalize
protected void finalize()
throws Throwable
The finalizer of this method decreases the IOR reference count to
this Java object and then calls other finalizers in the chain.