mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
28 lines
664 B
Java
28 lines
664 B
Java
package org.briarproject.api.event;
|
|
|
|
import org.briarproject.api.ContactId;
|
|
import org.briarproject.api.sync.MessageId;
|
|
|
|
import java.util.Collection;
|
|
|
|
/** An event that is broadcast when messages are sent to a contact. */
|
|
public class MessagesSentEvent extends Event {
|
|
|
|
private final ContactId contactId;
|
|
private final Collection<MessageId> messageIds;
|
|
|
|
public MessagesSentEvent(ContactId contactId,
|
|
Collection<MessageId> messageIds) {
|
|
this.contactId = contactId;
|
|
this.messageIds = messageIds;
|
|
}
|
|
|
|
public ContactId getContactId() {
|
|
return contactId;
|
|
}
|
|
|
|
public Collection<MessageId> getMessageIds() {
|
|
return messageIds;
|
|
}
|
|
}
|