Zero Install .NET API 2.20.0
ZeroInstall.Store.Implementations.ServiceImplementationStore Class Reference

Forwards request to an IImplementationSink running in a Store Service via IPC. More...

Inheritance diagram for ZeroInstall.Store.Implementations.ServiceImplementationStore:
ZeroInstall.Store.Implementations.IImplementationStore ZeroInstall.Store.Implementations.IImplementationSink

Public Member Functions

void Add (ManifestDigest manifestDigest, Action< IBuilder > build)
 Adds a new implementation. More...
 
bool Contains (ManifestDigest manifestDigest)
 Always returns false. Use a non-IPC IImplementationStore for this method instead. More...
 
string? GetPath (ManifestDigest manifestDigest)
 Always returns null. Use a non-IPC IImplementationStore for this method instead. More...
 
IEnumerable< ManifestDigestListAll ()
 Always returns empty list. Use a non-IPC IImplementationStore for this method instead. More...
 
IEnumerable< string > ListAllTemp ()
 Always returns empty list. Use a non-IPC IImplementationStore for this method instead. More...
 
void Verify (ManifestDigest manifestDigest, ITaskHandler handler)
 Checks whether an implementation in the store still matches the expected digest. Asks the user whether to delete the implementation if it does not match. More...
 
bool Remove (ManifestDigest manifestDigest, ITaskHandler handler)
 Does nothing. Should be handled by an ImplementationStore directly instead of using the service. More...
 
long Optimise (ITaskHandler handler)
 Does nothing. Should be handled by an ImplementationStore directly instead of using the service. More...
 
override string ToString ()
 Returns a fixed string.
 

Static Public Attributes

const string IpcPort = "ZeroInstall.Store.Service"
 The IPC port to use to contact the store service.
 
const string IpcCallbackPort = IpcPort + ".Callback"
 The IPC port to use to contact the store service.
 
static readonly CommonSecurityDescriptor IpcAcl
 ACL for IPC named pipes. Allows object owners, normal users and the system write access.
 

Properties

ImplementationStoreKind Kind [get]
 
string Path [get]
 
- Properties inherited from ZeroInstall.Store.Implementations.IImplementationStore
ImplementationStoreKind Kind [get]
 Indicates what kind of access to this store is possible.
 
string Path [get]
 The path to the underlying directory in the file system.
 

Detailed Description

Forwards request to an IImplementationSink running in a Store Service via IPC.

Member Function Documentation

◆ Add()

void ZeroInstall.Store.Implementations.ServiceImplementationStore.Add ( ManifestDigest  manifestDigest,
Action< IBuilder build 
)
inline

Adds a new implementation.

Implements ZeroInstall.Store.Implementations.IImplementationSink.

◆ Contains()

bool ZeroInstall.Store.Implementations.ServiceImplementationStore.Contains ( ManifestDigest  manifestDigest)

Always returns false. Use a non-IPC IImplementationStore for this method instead.

Using the store service for this is unnecessary since it only requires read access to the file system.

Implements ZeroInstall.Store.Implementations.IImplementationStore.

◆ GetPath()

string? ZeroInstall.Store.Implementations.ServiceImplementationStore.GetPath ( ManifestDigest  manifestDigest)

Always returns null. Use a non-IPC IImplementationStore for this method instead.

Using the store service for this is unnecessary since it only requires read access to the file system.

Implements ZeroInstall.Store.Implementations.IImplementationStore.

◆ ListAll()

IEnumerable< ManifestDigest > ZeroInstall.Store.Implementations.ServiceImplementationStore.ListAll ( )

Always returns empty list. Use a non-IPC IImplementationStore for this method instead.

Using the store service for this is unnecessary since it only requires read access to the file system.

Implements ZeroInstall.Store.Implementations.IImplementationStore.

◆ ListAllTemp()

IEnumerable< string > ZeroInstall.Store.Implementations.ServiceImplementationStore.ListAllTemp ( )

Always returns empty list. Use a non-IPC IImplementationStore for this method instead.

Using the store service for this is unnecessary since it only requires read access to the file system.

Implements ZeroInstall.Store.Implementations.IImplementationStore.

◆ Optimise()

long ZeroInstall.Store.Implementations.ServiceImplementationStore.Optimise ( ITaskHandler  handler)

Does nothing. Should be handled by an ImplementationStore directly instead of using the service.

Implements ZeroInstall.Store.Implementations.IImplementationStore.

◆ Remove()

bool ZeroInstall.Store.Implementations.ServiceImplementationStore.Remove ( ManifestDigest  manifestDigest,
ITaskHandler  handler 
)

Does nothing. Should be handled by an ImplementationStore directly instead of using the service.

Implements ZeroInstall.Store.Implementations.IImplementationStore.

◆ Verify()

void ZeroInstall.Store.Implementations.ServiceImplementationStore.Verify ( ManifestDigest  manifestDigest,
ITaskHandler  handler 
)

Checks whether an implementation in the store still matches the expected digest. Asks the user whether to delete the implementation if it does not match.

Implements ZeroInstall.Store.Implementations.IImplementationStore.


The documentation for this class was generated from the following files: