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
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
Returns
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
Type Parameters
T