mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
24 lines
440 B
Java
24 lines
440 B
Java
package org.briarproject.api.messaging;
|
|
|
|
/**
|
|
* A packet updating the recipient's view of the retention time of the sender's
|
|
* database.
|
|
*/
|
|
public class RetentionUpdate {
|
|
|
|
private final long retention, version;
|
|
|
|
public RetentionUpdate(long retention, long version) {
|
|
this.retention = retention;
|
|
this.version = version;
|
|
}
|
|
|
|
public long getRetentionTime() {
|
|
return retention;
|
|
}
|
|
|
|
public long getVersion() {
|
|
return version;
|
|
}
|
|
}
|