Table of Contents

Class DispatchInformationFeature

Namespace
IceRpc.Features
Assembly
IceRpc.dll

Default implementation of IDispatchInformationFeature.

public sealed class DispatchInformationFeature : IDispatchInformationFeature
Inheritance
DispatchInformationFeature
Implements
Inherited Members

Constructors

DispatchInformationFeature(IncomingRequest)

Constructs a dispatch information feature using an incoming request.

public DispatchInformationFeature(IncomingRequest request)

Parameters

request IncomingRequest

The incoming request.

Properties

ConnectionContext

Gets the connection context.

public IConnectionContext ConnectionContext { get; }

Property Value

IConnectionContext

Fragment

Gets the fragment of the target service.

public string Fragment { get; }

Property Value

string

The fragment of the target service. It is always the empty string with the icerpc protocol.

IsOneway

Gets a value indicating whether this request is one-way or two-way.

public bool IsOneway { get; }

Property Value

bool

true for one-way requests; otherwise, false.

Operation

Gets the name of the operation to call on the target service.

public string Operation { get; }

Property Value

string

The name of the operation.

Path

Gets the path of the target service.

public string Path { get; }

Property Value

string

The path of the target service.

Protocol

Gets the protocol of the connection that received this request.

public Protocol Protocol { get; }

Property Value

Protocol

The Protocol for the current dispatch.