mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
ShardReceivedEvent in briar api
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
package org.briarproject.briar.api.socialbackup;
|
||||
|
||||
public class ShardReceivedEvent {
|
||||
import org.briarproject.bramble.api.contact.ContactId;
|
||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||
import org.briarproject.briar.api.conversation.event.ConversationMessageReceivedEvent;
|
||||
|
||||
import jdk.nashorn.internal.ir.annotations.Immutable;
|
||||
|
||||
@Immutable
|
||||
@NotNullByDefault
|
||||
public class ShardReceivedEvent
|
||||
extends ConversationMessageReceivedEvent<ShardMessageHeader> {
|
||||
|
||||
public ShardReceivedEvent(ShardMessageHeader shardMessageHeader,
|
||||
ContactId contactId) {
|
||||
super(shardMessageHeader, contactId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user