mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Interrupt messaging session if contact or transport is removed.
This commit is contained in:
@@ -8,8 +8,9 @@ import org.briarproject.api.TransportId;
|
||||
|
||||
public interface MessagingSessionFactory {
|
||||
|
||||
MessagingSession createIncomingSession(ContactId c, InputStream in);
|
||||
MessagingSession createIncomingSession(ContactId c, TransportId t,
|
||||
InputStream in);
|
||||
|
||||
MessagingSession createOutgoingSession(ContactId c, TransportId t,
|
||||
long maxLatency, OutputStream out, boolean duplex);
|
||||
long maxLatency, boolean duplex, OutputStream out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user