C# Class DotNetWorkQueue.Messages.MessageMethodHandling

Handles processing of linq expression tree messages.
Inheritance: IMessageMethodHandling
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Private Methods

Méthode Description
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.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

HandleExecution() public méthode

Handles processing of linq expression tree messages.
public HandleExecution ( IReceivedMessage receivedMessage, IWorkerNotification workerNotification ) : void
receivedMessage IReceivedMessage The received message.
workerNotification IWorkerNotification The worker notification.
Résultat void

MessageMethodHandling() public méthode

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.
Résultat System

ThrowIfDisposed() protected méthode

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
Résultat void