ReportServer.ReportServerClient

Namespace: Babel.Licensing.Service Assembly: Babel.Licensing.dll

Client for ReportServer

public class ReportServer.ReportServerClient : ClientBase<ReportServer.ReportServerClient>

Inheritance

object ← ClientBase ← ClientBase<ReportServer.ReportServerClient> ← ReportServer.ReportServerClient

Inherited Members

ClientBase<ReportServer.ReportServerClient>.WithHost(string), ClientBase<ReportServer.ReportServerClient>.NewInstance(ClientBase.ClientBaseConfiguration), ClientBase.CallInvoker, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

ReportServerClient(ChannelBase)

Creates a new client for ReportServer

public ReportServerClient(ChannelBase channel)

Parameters

NameDescription

channel ChannelBase

The channel to use to make remote calls.

ReportServerClient(CallInvoker)

Creates a new client for ReportServer that uses a custom CallInvoker.

public ReportServerClient(CallInvoker callInvoker)

Parameters

NameDescription

callInvoker CallInvoker

The callInvoker to use to make remote calls.

ReportServerClient()

Protected parameterless constructor to allow creation of test doubles.

protected ReportServerClient()

ReportServerClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

protected ReportServerClient(ClientBase.ClientBaseConfiguration configuration)

Parameters

NameDescription

configuration ClientBase.ClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

protected override ReportServer.ReportServerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Parameters

NameDescription

configuration ClientBase.ClientBaseConfiguration

Returns

SendReport(SendReportRequest, Metadata, DateTime?, CancellationToken)

Report Messages

public virtual SendReportResponse SendReport(SendReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

NameDescription

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

NameDescription

The response received from the server.

SendReport(SendReportRequest, CallOptions)

Report Messages

public virtual SendReportResponse SendReport(SendReportRequest request, CallOptions options)

Parameters

NameDescription

The request to send to the server.

options CallOptions

The options for the call.

Returns

NameDescription

The response received from the server.

SendReportAsync(SendReportRequest, Metadata, DateTime?, CancellationToken)

Report Messages

public virtual AsyncUnaryCall<SendReportResponse> SendReportAsync(SendReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Parameters

NameDescription

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime?

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns

NameDescription

AsyncUnaryCall<SendReportResponse>

The call object.

SendReportAsync(SendReportRequest, CallOptions)

Report Messages

public virtual AsyncUnaryCall<SendReportResponse> SendReportAsync(SendReportRequest request, CallOptions options)

Parameters

NameDescription

The request to send to the server.

options CallOptions

The options for the call.

Returns

NameDescription

AsyncUnaryCall<SendReportResponse>

The call object.

Last updated