mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
24 lines
525 B
Java
24 lines
525 B
Java
package org.briarproject.api.keyagreement;
|
|
|
|
import org.briarproject.api.TransportId;
|
|
import org.briarproject.api.plugins.duplex.DuplexTransportConnection;
|
|
|
|
public class KeyAgreementConnection {
|
|
private final DuplexTransportConnection conn;
|
|
private final TransportId id;
|
|
|
|
public KeyAgreementConnection(DuplexTransportConnection conn,
|
|
TransportId id) {
|
|
this.conn = conn;
|
|
this.id = id;
|
|
}
|
|
|
|
public DuplexTransportConnection getConnection() {
|
|
return conn;
|
|
}
|
|
|
|
public TransportId getTransportId() {
|
|
return id;
|
|
}
|
|
}
|