src/main/java/org/hyperledger/fabric/sdk/Channel.java
/**
     * Unregister a block listener.
     *
     * @param handle of Block listener to remove.
     * @return false if not found.
     * @throws InvalidArgumentException if the channel is shutdown or invalid arguments.
     */
Unregister a block listener.
@param handle of Block listener to remove.
@return false if not found.
@throws InvalidArgumentException if the channel is shutdown or invalid arguments.
Unregister a block listener . @param handle of Block listener to remove . @return false if not found . @throws InvalidArgumentException if the channel is shutdown or invalid arguments .
public boolean unregisterBlockListener(String handle) throws InvalidArgumentException {
        if (shutdown) {
            throw new InvalidArgumentException(format("Channel %s has been shutdown.", name));
        }
        checkHandle(BLOCK_LISTENER_TAG, handle);
        synchronized (blockListeners) {
            return null != blockListeners.remove(handle);
        }
    }
public boolean unregisterBlockListener ( String handle ) throws InvalidArgumentException { if ( shutdown ) { throw new InvalidArgumentException ( format ( "Channel %s has been shutdown." , name ) ) ; } checkHandle ( BLOCK_LISTENER_TAG , handle ) ; synchronized ( blockListeners ) { return null != blockListeners . remove ( handle ) ; } }
Unregister a block listener.
Unregister a block listener .