Skip to content
Snippets Groups Projects
Offer.java 417 B
Newer Older
package org.briarproject.api.sync;
akwizgran's avatar
akwizgran committed
/** A packet offering the recipient one or more {@link Message Messages}. */
	private final Collection<MessageId> offered;

	public Offer(Collection<MessageId> offered) {
		this.offered = offered;
	}

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