示例#1
0
        public override async Task <Stream> ConnectAsync(CancellationToken token)
        {
            string address = GetDefaultAddress();

            _config = IpcEndpointConfig.Parse(address + ",connect");
            return(await IpcEndpointHelper.ConnectAsync(_config, token).ConfigureAwait(false));
        }
示例#2
0
        public override Stream Connect(TimeSpan timeout)
        {
            string address = GetDefaultAddress();

            _config = IpcEndpointConfig.Parse(address + ",connect");
            return(IpcEndpointHelper.Connect(_config, timeout));
        }
示例#3
0
 public override async Task <Stream> ConnectAsync(CancellationToken token)
 {
     return(await IpcEndpointHelper.ConnectAsync(_config, token).ConfigureAwait(false));
 }
示例#4
0
 public override Stream Connect(TimeSpan timeout)
 {
     return(IpcEndpointHelper.Connect(_config, timeout));
 }