C# Класс DotNetWorkQueue.Messages.MessageMethodHandling

Handles processing of linq expression tree messages.
Наследование: IMessageMethodHandling
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

HandleExecution ( IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void

Handles processing of linq expression tree messages.

MessageMethodHandling ( IExpressionSerializer serializer, IQueueContainer queueContainer, ILogFactory log, ILinqCompiler linqCompiler, ICompositeSerialization compositeSerialization ) : System

Initializes a new instance of the MessageMethodHandling class.

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

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

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

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

Метод Описание
CreateRpcModuleIfNeeded ( IConnectionInformation connection ) : void

Creates an RPC module for sending responses if one does not already exist.

The connection is used as the key

HandleAction ( Action action, IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void

Runs a compiled linq expression.

HandleAction ( IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void

De-serializes and runs a compiled linq expression.

HandleFunction ( Func function, IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void

De-serializes and runs a compiled linq func expression.

HandleFunction ( IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void

De-serializes and runs a compiled linq func expression.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

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

Handles processing of linq expression tree messages.
public HandleExecution ( IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void
receivedMessage IReceivedMessage The received message.
workerNotification IWorkerNotification The worker notification.
Результат void

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

Initializes a new instance of the MessageMethodHandling class.
public MessageMethodHandling ( IExpressionSerializer serializer, IQueueContainer queueContainer, ILogFactory log, ILinqCompiler linqCompiler, ICompositeSerialization compositeSerialization ) : System
serializer IExpressionSerializer The serializer.
queueContainer IQueueContainer The queue container.
log ILogFactory The log.
linqCompiler ILinqCompiler The method compiler.
compositeSerialization ICompositeSerialization The composite serialization.
Результат System

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

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
Результат void