Store outgoing connection numbers in the database.

This commit is contained in:
akwizgran
2011-09-28 19:24:22 +01:00
parent 5aa7da2048
commit 2edb18aee0
4 changed files with 99 additions and 3 deletions

View File

@@ -98,6 +98,12 @@ public interface DatabaseComponent {
void generateTransportUpdate(ContactId c, TransportWriter t) throws
DbException, IOException;
/**
* Returns an outgoing connection number for the given contact and
* transport.
*/
long getConnectionNumber(ContactId c, int transportId) throws DbException;
/**
* Returns the connection reordering window for the given contact and
* transport.