mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Moved classes from messaging package to sync package.
This commit is contained in:
16
briar-api/src/org/briarproject/api/sync/RetentionAck.java
Normal file
16
briar-api/src/org/briarproject/api/sync/RetentionAck.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package org.briarproject.api.sync;
|
||||
|
||||
/** A packet acknowledging a (@link RetentionUpdate} */
|
||||
public class RetentionAck {
|
||||
|
||||
private final long version;
|
||||
|
||||
public RetentionAck(long version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/** Returns the version number of the acknowledged update. */
|
||||
public long getVersion() {
|
||||
return version;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user