1
0
mirror of synced 2024-11-14 17:33:49 +00:00
PettingZoo/Connection/MockConnectionFactory.cs
PsychoMark ccfde19d2d Changed Model namespace to Connection, moved bits out to Infrastructure
Added Mock connection
Fixed AutoScroll failing with high rate message flow
2016-07-12 16:57:24 +02:00

18 lines
405 B
C#

namespace PettingZoo.Connection
{
public class MockConnectionFactory : IConnectionFactory
{
private readonly int interval;
public MockConnectionFactory(int interval)
{
this.interval = interval;
}
public IConnection CreateConnection(ConnectionInfo connectionInfo)
{
return new MockConnection(interval);
}
}
}