Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Protected Member Functions | List of all members
jau.direct_bt.DBTNativeDownlink Class Referenceabstract
Inheritance diagram for jau.direct_bt.DBTNativeDownlink:
Collaboration diagram for jau.direct_bt.DBTNativeDownlink:

Public Member Functions

final void delete ()
 Deletes the. More...
 

Protected Member Functions

 DBTNativeDownlink (final long nativeInstance)
 
boolean isValid ()
 
void finalize ()
 
abstract void deleteImpl (long nativeInstance)
 Deletes the native instance. More...
 

Detailed Description

Definition at line 32 of file DBTNativeDownlink.java.

Constructor & Destructor Documentation

◆ DBTNativeDownlink()

jau.direct_bt.DBTNativeDownlink.DBTNativeDownlink ( final long  nativeInstance)
protected

Definition at line 42 of file DBTNativeDownlink.java.

Member Function Documentation

◆ delete()

final void jau.direct_bt.DBTNativeDownlink.delete ( )

Deletes the.

nativeInstance

in the following order

  1. Removes this java reference from the
    nativeInstance
  2. Deletes the
    nativeInstance
    via deleteImpl(long)
  3. Zeros the
    nativeInstance
    reference

Definition at line 65 of file DBTNativeDownlink.java.

Here is the call graph for this function:

◆ deleteImpl()

abstract void jau.direct_bt.DBTNativeDownlink.deleteImpl ( long  nativeInstance)
abstractprotected

Deletes the native instance.

Called via delete() and at this point

  • this java reference has been removed from the native instance, i.e.
    JavaUplink
    's
    javaObjectRef = nullptr
  • the nativeInstance reference has been zeroed, but passed as argument for this final native deletion task.
Parameters
nativeInstancecopy of nativeInstance reference, which has been already zeroed.

Reimplemented in jau.direct_bt.DBTDevice, jau.direct_bt.DBTGattChar, jau.direct_bt.DBTAdapter, jau.direct_bt.DBTGattDesc, and jau.direct_bt.DBTGattService.

Here is the caller graph for this function:

◆ finalize()

void jau.direct_bt.DBTNativeDownlink.finalize ( )
protected

Reimplemented in jau.direct_bt.DBTObject.

Definition at line 52 of file DBTNativeDownlink.java.

◆ isValid()

boolean jau.direct_bt.DBTNativeDownlink.isValid ( )
protected

Reimplemented in jau.direct_bt.DBTDevice, and jau.direct_bt.DBTAdapter.

Definition at line 49 of file DBTNativeDownlink.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: