Example #1
0
        private void InstantiatePipelineClient(RelayNodeGroupDefinition groupDefinition)
        {
            var client = PipelineClient.GetClient(_ipEndPoint);

            client.AckTimeout      = TimeSpan.FromMilliseconds(groupDefinition.SocketSettings.ReceiveTimeout >> 1);
            client.ResponseTimeout = TimeSpan.FromMilliseconds(groupDefinition.SocketSettings.ReceiveTimeout);
            RelayMessageSender     = new PipelineSender(client);
        }