C# Класс SQLiteRpcProducer.Commands.SendMessage

Наследование: ConsoleSharedCommands.Commands.SharedCommands
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateQueue ( string queueNameReceive, string queueNameSend, int type ) : ConsoleExecuteResult
Example ( string command ) : ConsoleExecuteResult
Help ( ) : ConsoleExecuteResult
Send ( string queueReceive, string queueNameSend, int itemCount, System.TimeSpan rpcTimeout = null, int runtime = 100, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : ConsoleExecuteResult
SendAsync ( string queueReceive, string queueNameSend, int itemCount, System.TimeSpan rpcTimeout = null, int runtime = 100, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : Task
SendMessage ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void
ValidateQueue ( string queueName ) : ConsoleExecuteResult

Приватные методы

Метод Описание
CreateContainer ( ) : QueueContainer
CreateMessages ( int itemCount, int runTime ) : IEnumerable
CreateModuleIfNeeded ( string queueNameReceive, string queueNameResponse, ConsumerQueueTypes type ) : void
GenerateMessages ( List jobs, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : IAdditionalMessageData>>.List
RegisterService ( IContainer container ) : void

Описание методов

CreateQueue() публичный Метод

public CreateQueue ( string queueNameReceive, string queueNameSend, int type ) : ConsoleExecuteResult
queueNameReceive string
queueNameSend string
type int
Результат ConsoleShared.ConsoleExecuteResult

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Example() публичный Метод

public Example ( string command ) : ConsoleExecuteResult
command string
Результат ConsoleShared.ConsoleExecuteResult

Help() публичный Метод

public Help ( ) : ConsoleExecuteResult
Результат ConsoleShared.ConsoleExecuteResult

Send() публичный Метод

public Send ( string queueReceive, string queueNameSend, int itemCount, System.TimeSpan rpcTimeout = null, int runtime = 100, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : ConsoleExecuteResult
queueReceive string
queueNameSend string
itemCount int
rpcTimeout System.TimeSpan
runtime int
delay System.TimeSpan
expiration System.TimeSpan
priority ushort
Результат ConsoleShared.ConsoleExecuteResult

SendAsync() публичный Метод

public SendAsync ( string queueReceive, string queueNameSend, int itemCount, System.TimeSpan rpcTimeout = null, int runtime = 100, System.TimeSpan delay = null, System.TimeSpan expiration = null, ushort priority = null ) : Task
queueReceive string
queueNameSend string
itemCount int
rpcTimeout System.TimeSpan
runtime int
delay System.TimeSpan
expiration System.TimeSpan
priority ushort
Результат Task

SendMessage() публичный Метод

public SendMessage ( ) : System
Результат System

ValidateQueue() защищенный Метод

protected ValidateQueue ( string queueName ) : ConsoleExecuteResult
queueName string
Результат ConsoleShared.ConsoleExecuteResult