public TestTransport(TestTransportFactory testTransportFactory, Identity identity, RoutingTable routingTable, PeerTable peerTable, InboundMessageDispatcher inboundMessageDispatcher) { this.testTransportFactory = testTransportFactory; this.identity = identity; this.routingTable = routingTable; this.peerTable = peerTable; this.inboundMessageDispatcher = inboundMessageDispatcher; }
public LocalManagementTests() { var testTransportFactory = new TestTransportFactory(); var courierContainer = CourierBuilder.Create() .UseTransport(testTransportFactory) .BuildAsync().Result; Setup(courierContainer); }
public TestTransport(TestTransportFactory testTransportFactory, Identity identity, RoutingTable routingTable, PeerTable peerTable, InboundMessageDispatcher inboundMessageDispatcher) { this.testTransportFactory = testTransportFactory; this.identity = identity; this.routingTable = routingTable; this.peerTable = peerTable; this.inboundMessageDispatcher = inboundMessageDispatcher; }
public LocalMessagingLoadTests() { var testTransportFactory = new TestTransportFactory(); var courierFacades = Util.Generate( 3, i => CourierBuilder.Create() .UseTransport(testTransportFactory) .UseTcpServerTransport(21337 + i) .BuildAsync().Result); Setup(courierFacades); }
public LocalServiceTests() { var testTransportFactory = new TestTransportFactory(); var clientFacade = CourierBuilder.Create() .UseTransport(testTransportFactory) .BuildAsync().Result; var serverFacade = CourierBuilder.Create() .UseTransport(testTransportFactory) .BuildAsync().Result; Setup(clientFacade, serverFacade); }
public TestRoutingContext(TestTransportFactory testTransportFactory, Identity remoteIdentity) { this.testTransportFactory = testTransportFactory; this.remoteIdentity = remoteIdentity; }
public TestRoutingContext(TestTransportFactory testTransportFactory, Identity remoteIdentity) { this.testTransportFactory = testTransportFactory; this.remoteIdentity = remoteIdentity; }
public LocalMessagingTests() { var testTransportFactory = new TestTransportFactory(); var senderfacade = CourierBuilder.Create() .UseTransport(testTransportFactory) .BuildAsync().Result; var receiverFacade = CourierBuilder.Create() .UseTransport(testTransportFactory) .BuildAsync().Result; Setup(senderfacade, receiverFacade); }