mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
21 lines
428 B
Java
21 lines
428 B
Java
package org.briarproject.api.event;
|
|
|
|
import org.briarproject.api.contact.ContactId;
|
|
|
|
/**
|
|
* An event that is broadcast when a message is offered by a contact and needs
|
|
* to be requested.
|
|
*/
|
|
public class MessageToRequestEvent extends Event {
|
|
|
|
private final ContactId contactId;
|
|
|
|
public MessageToRequestEvent(ContactId contactId) {
|
|
this.contactId = contactId;
|
|
}
|
|
|
|
public ContactId getContactId() {
|
|
return contactId;
|
|
}
|
|
}
|