示例#1
0
        public TestAgency()
        {
            var uri  = "TestAgency-" + Guid.NewGuid();
            var port = 0;

            _remotingTransport = new TestAgencyRemotingTransport(this, uri, port);
            _tcpTransport      = new TestAgencyTcpTransport(this, port);
        }
示例#2
0
 public TestAgency(string uri, int port)
 {
     _remotingTransport = new TestAgencyRemotingTransport(this, uri, port);
     _tcpTransport      = new TestAgencyTcpTransport(this, port);
 }