Table of Contents

Interface ISender

Namespace
JobFlow.Core.Infrastructure.Transports
Assembly
JobFlow.Core.dll

Sender for a transport connection.

public interface ISender
Extension Methods

Methods

DeleteScheduleAsync(string)

Deletes a schedule from the transport.

Task<bool> DeleteScheduleAsync(string scheduleId)

Parameters

scheduleId string

Returns

Task<bool>

True is the schedule is delete successfully.

Exceptions

ScheduleOperationNotSupportedException

If scheduling is not supported by this transport.

ScheduleMessageAsync<T>(Message<T>, DateTime)

Send a scheduled message.

Task<string> ScheduleMessageAsync<T>(Message<T> item, DateTime scheduleUtc)

Parameters

item Message<T>
scheduleUtc DateTime

Returns

Task<string>

Type Parameters

T

Exceptions

ScheduleOperationNotSupportedException

If scheduling is not supported by this transport.

SendMessageAsync<T>(Message<T>)

Send a message on the transport connection.

Task SendMessageAsync<T>(Message<T> item)

Parameters

item Message<T>

Returns

Task

Type Parameters

T