Files
briar/briar-api/src/org/briarproject/api/event/MessageToRequestEvent.java
2015-12-17 16:56:57 +00:00

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;
}
}