mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
21 lines
440 B
Java
21 lines
440 B
Java
package org.briarproject.api.event;
|
|
|
|
import org.briarproject.api.contact.ContactId;
|
|
|
|
/**
|
|
* An event that is broadcast when a message is received from or offered by a
|
|
* contact and needs to be acknowledged.
|
|
*/
|
|
public class MessageToAckEvent extends Event {
|
|
|
|
private final ContactId contactId;
|
|
|
|
public MessageToAckEvent(ContactId contactId) {
|
|
this.contactId = contactId;
|
|
}
|
|
|
|
public ContactId getContactId() {
|
|
return contactId;
|
|
}
|
|
}
|