gov.llnl.sidl
public abstract class BaseClass extends java.lang.RuntimeException implements BaseInterface
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.Modifier and Type | Field and Description |
---|---|
protected long |
d_ior |
Modifier | Constructor and Description |
---|---|
protected |
BaseClass(long ior)
Construct a
BaseClass object and initialize the IOR
reference to point to a valid sidl IOR structure. |
Modifier and Type | Method and Description |
---|---|
long |
_cast_ior(java.lang.String name)
Cast this object to the specified type and return the IOR pointer.
|
BaseInterface |
_cast2(java.lang.String name)
Cast this object to the specified sidl name.
|
long |
_get_ior()
Retrieve a reference to the sidl IOR structure.
|
java.lang.String |
_getURL()
Returns the URL of this object
|
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(java.lang.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.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRef
protected BaseClass(long ior)
BaseClass
object and initialize the IOR
reference to point to a valid sidl IOR structure.public static void _registerNatives(java.lang.String sidl_symbol)
public final long _get_ior()
_get_ior
in interface BaseInterface
public final BaseInterface _cast2(java.lang.String name)
_cast2
in interface BaseInterface
public final long _cast_ior(java.lang.String name)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public final java.lang.String _getURL()
_getURL
in interface BaseInterface
public final boolean _isRemote()
_isRemote
in interface BaseInterface
public final boolean _isLocal()
_isLocal
in interface BaseInterface