Table of Contents

Class TerminalRequestQueueParser

Namespace
OneImlx.Terminal.Runtime
Assembly
OneImlx.Terminal.dll

The default ITerminalRequestParser that uses a queue to parse the terminal request.

public class TerminalRequestQueueParser : ITerminalRequestParser
Inheritance
TerminalRequestQueueParser
Implements
Inherited Members

Constructors

TerminalRequestQueueParser(ITerminalTextHandler, IOptions<TerminalOptions>, ILogger<TerminalRequestQueueParser>)

Initializes a new instance of the TerminalRequestQueueParser class.

public TerminalRequestQueueParser(ITerminalTextHandler textHandler, IOptions<TerminalOptions> terminalOptions, ILogger<TerminalRequestQueueParser> logger)

Parameters

textHandler ITerminalTextHandler

The text handler.

terminalOptions IOptions<TerminalOptions>

The terminal configuration options.

logger ILogger<TerminalRequestQueueParser>

The logger.

Methods

ParseRequestAsync(TerminalRequest)

Parses the terminal request asynchronously.

public Task<TerminalParsedRequest> ParseRequestAsync(TerminalRequest request)

Parameters

request TerminalRequest

The terminal request to parse.

Returns

Task<TerminalParsedRequest>

A task that represents the asynchronous parse operation. The task result contains the parsed request.