aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-09 02:45:34 +0200
committerSven Gothel <[email protected]>2022-05-09 02:45:34 +0200
commit9d2cd120a4b333cf0915edcccfd07849ad71faba (patch)
treec0d2cfa717f4ac0ddbe2ad5ff551dddd46e51330 /java
parent1bf597ac6b51977bc27d22fc57b0bdaa722df86d (diff)
AdapterStatusListener.java restrictions removed since having AdapterStatusListener derive from JavaUplink/DBTNativeDownlink
Was done in commit 9c5f25ccd1637728d6e79592279e4b38ecd32f59 to fix JNI Lifecycle
Diffstat (limited to 'java')
-rw-r--r--java/org/direct_bt/AdapterStatusListener.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/java/org/direct_bt/AdapterStatusListener.java b/java/org/direct_bt/AdapterStatusListener.java
index fa6c55df..5fefd65c 100644
--- a/java/org/direct_bt/AdapterStatusListener.java
+++ b/java/org/direct_bt/AdapterStatusListener.java
@@ -39,20 +39,6 @@ import jau.direct_bt.DBTNativeDownlink;
* A listener instance may be attached to a {@link BTAdapter} via
* {@link BTAdapter#addStatusListener(AdapterStatusListener, BTDevice)}.
* </p>
- * <p>
- * One {@link AdapterStatusListener} instance can only be attached to a listener receiver once at a time,
- * i.e. you cannot attach the same instance more than once to a {@link BTAdapter}.
- * <br>
- * To attach multiple listener, one instance per attachment must be created.
- * <br>
- * This restriction is due to implementation semantics of strictly associating
- * one Java {@link AdapterStatusListener} instance to one C++ {@code AdapterStatusListener} instance.
- * The latter will be added to the native list of listeners.
- * This class's {@code nativeInstance} field links the Java instance to mentioned C++ listener.
- * <br>
- * Since the listener receiver maintains a unique set of listener instances without duplicates,
- * this restriction is more esoteric.
- * </p>
* @since 2.0.0
*/
public abstract class AdapterStatusListener extends DBTNativeDownlink {