Example #1
0
 public Collaborators(AssociationRegistry registry, TestTransport transport, TestAssociationHandle handle, TestFailureDetector failureDetector)
 {
     FailureDetector = failureDetector;
     Handle          = handle;
     Transport       = transport;
     Registry        = registry;
 }
 public Collaborators(AssociationRegistry registry, TestTransport transport, TestAssociationHandle handle, TestFailureDetector failureDetector)
 {
     FailureDetector = failureDetector;
     Handle = handle;
     Transport = transport;
     Registry = registry;
 }
 public Collaborators GetCollaborators()
 {
     var registry = new AssociationRegistry();
     var transport = new TestTransport(localAddress, registry);
     var handle = new TestAssociationHandle(localAddress, remoteAddress, transport, true);
     transport.WriteBehavior.PushConstant(true);
     return new Collaborators(registry, transport, handle, new TestFailureDetector());
 }
Example #4
0
        public Collaborators GetCollaborators()
        {
            var registry  = new AssociationRegistry();
            var transport = new TestTransport(localAddress, registry);
            var handle    = new TestAssociationHandle(localAddress, remoteAddress, transport, true);

            transport.WriteBehavior.PushConstant(true);
            return(new Collaborators(registry, transport, handle, new TestFailureDetector()));
        }