mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Changed the root package from net.sf.briar to org.briarproject.
This commit is contained in:
18
briar-api/src/org/briarproject/api/messaging/Ack.java
Normal file
18
briar-api/src/org/briarproject/api/messaging/Ack.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package org.briarproject.api.messaging;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/** A packet acknowledging receipt of one or more {@link Message}s. */
|
||||
public class Ack {
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user