Namespace Foundation.Data.Doublets.Cli.Protocol
Classes
- BinaryLinoProtocol
Binary links packets (see Link.Foundation.Links.Notation.Binary.LinksPacket); every message is self-delimiting, so no extra framing is needed.
- LinksClient
Sends substitution queries to a LiNo server over any ILinoProtocol and any IPC transport.
- LinksNotification
A change a LinksServer pushed to a subscriber: the subscription it fits and its changes, a missing side being the null link.
- LinksOperation
The established uint operation facade over selected-address protocol algorithms.
- LinksOperation<T>
One call of the links interface (INamedTypesLinks<TLinkAddress>) as a LiNo document, so a store behind a LinksServer is used exactly like a local one through RemoteLinks.
- LinksOperation<T>.Count
Number of links matching the restriction.
- LinksOperation<T>.Create
Creates a link.
- LinksOperation<T>.Delete
Deletes a link, and every link that still refers to it.
- LinksOperation<T>.Each
Every link matching the restriction, ordered by index.
- LinksOperation<T>.GetByName
The link with a name.
- LinksOperation<T>.GetName
The name of a link.
- LinksOperation<T>.RemoveName
Removes the name of a link.
- LinksOperation<T>.SetName
Names a link.
- LinksOperation<T>.Subscribe
The operation name and its one argument.
- LinksOperation<T>.Unsubscribe
Stops a connection-owned subscription.
- LinksOperation<T>.Update
Points an existing link at a new source and target; an update that would duplicate an existing link merges into it instead.
- LinksRestriction
The established uint restriction; null parts match any value.
- LinksRestriction<T>
The parts of a link a LinksOperation<T>.Count or LinksOperation<T>.Each asks for; a null part matches any value.
- LinksServer
A server exposing a links store through the LiNo protocols over any IPC transport (issue #140).
- LinksServerOptions
Server configuration.
- LinksSession
A connection to a LinksSessions store: its requests run as its subject.
- LinksSessions
A store served to many sessions, each with its subject (issue #149): what a LinksServer gives every connection, without the network.
- LinoConnection
A byte stream decorated with an ILinoProtocol.
- LinoProtocolException
Raised by the LiNo network protocols (issue #105).
- LinoProtocols
Detects which protocol a peer used.
- ProtocolLimits
Limits applied when reading messages of either protocol.
- RemoteLinks
The established uint remote store using the shared selected-address protocol.
- RemoteLinks<T>
A links store served by a LinksServer, usable wherever a local store is.
- StoreArchive
A whole links store in binary links notation: two Link.Foundation.Links.Notation.Binary.LinksPackets, one after the other.
- TextLinoProtocol
UTF-8 LiNo text, one message per block of lines ended by a line holding only
.. Lines starting with.get one extra.(SMTP dot-stuffing).
- TripletsNotification
A change a LinksServer in triplet mode pushed to a subscriber; a side that does not fit the restriction (or that the subscriber may not read) is null.
- TripletsOperation
The triplets of a server in triplet mode (issue #152) as LiNo documents, so a store behind a LinksServer is used exactly like a local ITriplets<TLinkAddress> store through RemoteLinks.
- TripletsOperation.Count
Number of triplets matching the restriction.
- TripletsOperation.Create
Creates a triplet;
(0 0 0)creates a point, its own type.
- TripletsOperation.Delete
Deletes a triplet and every triplet that uses it.
- TripletsOperation.Each
Every triplet matching the restriction, ordered by index.
- TripletsOperation.Subscribe
Asks a LinksServer to push the changes other connections make to the triplets matching the restriction; only the server can run it, so Execute(ITriplets<uint>) on a store throws.
- TripletsOperation.Update
Makes an existing triplet
(index: type from to), keeping its address.
Structs
- MessageFormat
The wire format a message arrived in, so a reply can use the same one.
Interfaces
- ILinoProtocol
Reads and writes whole LiNo documents on a byte stream. Both TextLinoProtocol and BinaryLinoProtocol implement it, so code written against it switches protocol by swapping one value.
Enums
- AcceptedProtocols
Which protocols a server accepts.
- LinoProtocolErrorKind
What went wrong while encoding, decoding or exchanging a LiNo message.