Detaches the AMQP link, i.e. allows the Detach frame to be emitted with closed=false.
If the detach is being locally initiated, the {@link #detachHandler(Handler)} should be used to handle the peer
sending their Detach frame with closed=false (and {@link #closeHandler(Handler)} can be used to handle the peer
sending their Detach frame with closed=true). When use of the link is complete, i.e it is locally and
remotely detached, {@link #free()} must be called to ensure related resources can be tidied up.
Detaches the AMQP link, i.e. allows the Detach frame to be emitted with closed=false.
If the detach is being locally initiated, the {@link #detachHandler(Handler)} should be used to handle the peer sending their Detach frame with closed=false (and {@link #closeHandler(Handler)} can be used to handle the peer sending their Detach frame with closed=true). When use of the link is complete, i.e it is locally and remotely detached, {@link #free()} must be called to ensure related resources can be tidied up.
@return the link