Re: Regarding network object #fabricsdk #java


Mark Lewis
 

The legacy low-level SDK uses a "handle" as a way of referencing block listeners so that you can remove them using Channel.unregisterBlockListener(). The handle is just a unique identifier. This method gets the handles of all active block listeners.

If you are using (or can use) Fabric v2.4 or later, you should use the new Fabric Gateway client API. If you are using an older Fabric version then I would encourage you to use the legacy high-level Java SDK, which is built on top of the low-level Java SDK. Both of these newer APIs provide their own block listener capability. I would not recommending developing code using the legacy low-level Java SDK.

Join fabric@lists.hyperledger.org to automatically receive all group messages.