mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Factored ConnectionRecogniser out of transport plugins.
This commit is contained in:
@@ -10,8 +10,7 @@ import net.sf.briar.api.transport.TransportCallback;
|
||||
*/
|
||||
public interface BatchTransportCallback extends TransportCallback {
|
||||
|
||||
void readerCreated(ContactId contactId, byte[] encryptedIv,
|
||||
BatchTransportReader r);
|
||||
void readerCreated(BatchTransportReader r);
|
||||
|
||||
void writerCreated(ContactId contactId, TransportId t, long connection,
|
||||
BatchTransportWriter w);
|
||||
|
||||
@@ -10,8 +10,7 @@ import net.sf.briar.api.transport.TransportCallback;
|
||||
*/
|
||||
public interface StreamTransportCallback extends TransportCallback {
|
||||
|
||||
void incomingConnectionCreated(ContactId contactId, byte[] encryptedIv,
|
||||
StreamTransportConnection c);
|
||||
void incomingConnectionCreated(StreamTransportConnection c);
|
||||
|
||||
void outgoingConnectionCreated(ContactId contactId, TransportId t,
|
||||
long connection, StreamTransportConnection c);
|
||||
|
||||
Reference in New Issue
Block a user