mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
31 lines
762 B
Java
31 lines
762 B
Java
package org.briarproject.api.sharing;
|
|
|
|
import org.briarproject.api.clients.SessionId;
|
|
import org.briarproject.api.contact.ContactId;
|
|
import org.briarproject.api.clients.BaseMessageHeader;
|
|
import org.briarproject.api.sync.MessageId;
|
|
|
|
public abstract class InvitationMessage extends BaseMessageHeader {
|
|
|
|
private final SessionId sessionId;
|
|
private final ContactId contactId;
|
|
|
|
public InvitationMessage(MessageId id, SessionId sessionId,
|
|
ContactId contactId, long time, boolean local, boolean sent,
|
|
boolean seen, boolean read) {
|
|
|
|
super(id, time, local, read, sent, seen);
|
|
this.sessionId = sessionId;
|
|
this.contactId = contactId;
|
|
}
|
|
|
|
public SessionId getSessionId() {
|
|
return sessionId;
|
|
}
|
|
|
|
public ContactId getContactId() {
|
|
return contactId;
|
|
}
|
|
|
|
}
|