mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
25 lines
557 B
Java
25 lines
557 B
Java
package org.briarproject.api.event;
|
|
|
|
import org.briarproject.api.contact.ContactId;
|
|
import org.briarproject.api.sharing.InvitationRequest;
|
|
|
|
public abstract class InvitationRequestReceivedEvent extends Event {
|
|
|
|
private final ContactId contactId;
|
|
private final InvitationRequest request;
|
|
|
|
InvitationRequestReceivedEvent(ContactId contactId,
|
|
InvitationRequest request) {
|
|
this.contactId = contactId;
|
|
this.request = request;
|
|
}
|
|
|
|
public ContactId getContactId() {
|
|
return contactId;
|
|
}
|
|
|
|
public InvitationRequest getRequest() {
|
|
return request;
|
|
}
|
|
}
|