Skip to content
Snippets Groups Projects
Ack.java 410 B
Newer Older
package org.briarproject.api.sync;
akwizgran's avatar
akwizgran committed
/** A packet acknowledging receipt of one or more {@link Message Messages}. */
	private final Collection<MessageId> acked;

	public Ack(Collection<MessageId> acked) {
		this.acked = acked;
	}

	/** Returns the identifiers of the acknowledged messages. */
	public Collection<MessageId> getMessageIds() {
		return acked;
	}