< Summary

Information
Class: IceRpc.Transports.IMultiplexedClientTransport
Assembly: IceRpc
File(s): /home/runner/work/icerpc-csharp/icerpc-csharp/src/IceRpc/Transports/IMultiplexedClientTransport.cs
Tag: 275_13775359185
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 29
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 1
Total methods: 1
Method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Default()100%11100%

File(s)

/home/runner/work/icerpc-csharp/icerpc-csharp/src/IceRpc/Transports/IMultiplexedClientTransport.cs

#LineLine coverage
 1// Copyright (c) ZeroC, Inc.
 2
 3using IceRpc.Transports.Slic;
 4using IceRpc.Transports.Tcp;
 5using System.Net.Security;
 6
 7namespace IceRpc.Transports;
 8
 9/// <summary>A class to create outgoing multiplexed connections.</summary>
 10public interface IMultiplexedClientTransport
 11{
 12    /// <summary>Gets the default multiplexed client transport.</summary>
 13    /// <value>The default multiplexed client transport is the <see cref="SlicClientTransport" />.</value>
 4214    public static IMultiplexedClientTransport Default { get; } = new SlicClientTransport(new TcpClientTransport());
 15
 16    /// <summary>Gets the transport's name.</summary>
 17    string Name { get; }
 18
 19    /// <summary>Creates a new transport connection to the specified server address.</summary>
 20    /// <param name="serverAddress">The server address of the connection.</param>
 21    /// <param name="options">The multiplexed connection options.</param>
 22    /// <param name="clientAuthenticationOptions">The SSL client authentication options.</param>
 23    /// <returns>The new transport connection. This connection is not yet connected.</returns>
 24    /// <remarks>The IceRPC core can call this method concurrently so it must be thread-safe.</remarks>
 25    IMultiplexedConnection CreateConnection(
 26        ServerAddress serverAddress,
 27        MultiplexedConnectionOptions options,
 28        SslClientAuthenticationOptions? clientAuthenticationOptions);
 29}

Methods/Properties

get_Default()