package org.briarproject.api.sync; import java.util.Collection; /** A packet acknowledging receipt of one or more {@link Message Messages}. */ public class Ack { private final Collection acked; public Ack(Collection acked) { this.acked = acked; } /** Returns the identifiers of the acknowledged messages. */ public Collection getMessageIds() { return acked; } }