Table of Contents

Class LinksSession

Namespace
Foundation.Data.Doublets.Cli.Protocol
Assembly
Foundation.Data.Doublets.Cli.dll

A connection to a LinksSessions store: its requests run as its subject.

public sealed class LinksSession : IDisposable
Inheritance
LinksSession
Implements
Inherited Members

Properties

Subject

The subject the requests run as; the null link (0) is a guest.

public uint Subject { get; }

Property Value

uint

View

The store as the subject sees it, when there are permissions.

public PermissionsDecorator<uint>? View { get; }

Property Value

PermissionsDecorator<uint>

Methods

Dispose()

Closes the session.

public void Dispose()

Answers one request document.

public IReadOnlyList<Link<string>> Execute(IReadOnlyList<Link<string>> document)

Parameters

document IReadOnlyList<Link<string>>

Returns

IReadOnlyList<Link<string>>

Request(string)

Answers a request written as LiNo text, as the text protocol does.

public string Request(string text)

Parameters

text string

Returns

string