mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
29 lines
634 B
Java
29 lines
634 B
Java
package org.briarproject.api.event;
|
|
|
|
import org.briarproject.api.ContactId;
|
|
import org.briarproject.api.TransportId;
|
|
|
|
/**
|
|
* An event that is broadcast when a contact's remote transport properties
|
|
* are updated.
|
|
*/
|
|
public class RemoteTransportsUpdatedEvent extends Event {
|
|
|
|
private final ContactId contactId;
|
|
private final TransportId transportId;
|
|
|
|
public RemoteTransportsUpdatedEvent(ContactId contactId,
|
|
TransportId transportId) {
|
|
this.contactId = contactId;
|
|
this.transportId = transportId;
|
|
}
|
|
|
|
public ContactId getContactId() {
|
|
return contactId;
|
|
}
|
|
|
|
public TransportId getTransportId() {
|
|
return transportId;
|
|
}
|
|
}
|