Link.delivery

Create a delivery object based on the specified tag and adds it to the this link's delivery list and its connection work list.

TODO to clarify - this adds the delivery to the connection list. It is not yet clear why this is done or if it is useful for the application to be able to discover newly created deliveries from the {@link Connection#getWorkHead()}.

@param tag a tag for the delivery @return a new Delivery object

  1. Delivery delivery(byte[] tag)
    interface Link
    delivery
    (
    byte[] tag
    )
  2. Delivery delivery(byte[] tag, int offset, int length)

Meta