mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Use the transport's idle timeout, not a hardcoded value.
This commit is contained in:
@@ -11,6 +11,9 @@ public interface MessagingSessionFactory {
|
||||
MessagingSession createIncomingSession(ContactId c, TransportId t,
|
||||
InputStream in);
|
||||
|
||||
MessagingSession createOutgoingSession(ContactId c, TransportId t,
|
||||
long maxLatency, boolean duplex, OutputStream out);
|
||||
MessagingSession createSimplexOutgoingSession(ContactId c, TransportId t,
|
||||
long maxLatency, OutputStream out);
|
||||
|
||||
MessagingSession createDuplexOutgoingSession(ContactId c, TransportId t,
|
||||
long maxLatency, long maxIdleTime, OutputStream out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user