Table of Contents

Interface IClientProtocolConnectionFactory

Namespace
IceRpc
Assembly
IceRpc.dll

Represents a factory for client protocol connections.

public interface IClientProtocolConnectionFactory

Methods

CreateConnection(ServerAddress)

Creates a protocol connection to the specified server address.

IProtocolConnection CreateConnection(ServerAddress serverAddress)

Parameters

serverAddress ServerAddress

The address of the server.

Returns

IProtocolConnection

The new protocol connection. The caller must call ConnectAsync(CancellationToken) on this connection to connect it.