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