Remove transport ID from connection context.

This commit is contained in:
akwizgran
2011-11-15 17:32:31 +00:00
parent 9220bb3426
commit fabdaf5957
6 changed files with 8 additions and 32 deletions

View File

@@ -116,7 +116,6 @@ public class ConnectionRecogniserImplTest extends TestCase {
ConnectionContext ctx = c.acceptConnection(encryptedIv);
assertNotNull(ctx);
assertEquals(contactId, ctx.getContactId());
assertEquals(transportId, ctx.getTransportId());
assertEquals(remoteIndex, ctx.getTransportIndex());
assertEquals(3L, ctx.getConnectionNumber());
// Second time - the IV should no longer be expected

View File

@@ -162,7 +162,6 @@ public class BatchConnectionReadWriteTest extends TestCase {
ConnectionContext ctx = rec.acceptConnection(encryptedIv);
assertNotNull(ctx);
assertEquals(contactId, ctx.getContactId());
assertEquals(transportId, ctx.getTransportId());
assertEquals(transportIndex, ctx.getTransportIndex());
// Create an incoming batch connection
ConnectionReaderFactory connFactory =