C# Класс ZeroInstall.Store.Implementations.IpcStore

Provides transparent access to an IStore running in another process (the Store Service).
Наследование: IStore
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
IpcAcl CommonSecurityDescriptor

Открытые методы

Метод Описание
AddArchives ( IEnumerable archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler ) : string
AddDirectory ( string path, ManifestDigest manifestDigest, ITaskHandler handler ) : string
Contains ( ManifestDigest manifestDigest ) : bool

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

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

Contains ( string directory ) : bool

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

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

Flush ( ) : void
GetPath ( ManifestDigest manifestDigest ) : string

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

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

ListAll ( ) : IEnumerable

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

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

ListAllTemp ( ) : IEnumerable

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

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

Optimise ( ITaskHandler handler ) : long

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

Remove ( ManifestDigest manifestDigest, ITaskHandler handler ) : bool

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

ToString ( ) : string

Returns a fixed string.

Verify ( ManifestDigest manifestDigest, ITaskHandler handler ) : void

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

Приватные методы

Метод Описание
CreateServiceProxy ( ) : IStore

Sets up named pipes and creates a proxy object for accessing the IStore in the store service.

Must only be called once per process!

GetServiceProxy ( ) : IStore
IpcStore ( ) : System

Описание методов

AddArchives() публичный Метод

public AddArchives ( IEnumerable archiveInfos, ManifestDigest manifestDigest, ITaskHandler handler ) : string
archiveInfos IEnumerable
manifestDigest ManifestDigest
handler ITaskHandler
Результат string

AddDirectory() публичный Метод

public AddDirectory ( string path, ManifestDigest manifestDigest, ITaskHandler handler ) : string
path string
manifestDigest ManifestDigest
handler ITaskHandler
Результат string

Contains() публичный Метод

Always returns false. Use a non-IPC IStore for this method instead.
Using the store service for this is unnecessary since it only requires read access to the file system.
public Contains ( ManifestDigest manifestDigest ) : bool
manifestDigest ManifestDigest
Результат bool

Contains() публичный Метод

Always returns false. Use a non-IPC IStore for this method instead.
Using the store service for this is unnecessary since it only requires read access to the file system.
public Contains ( string directory ) : bool
directory string
Результат bool

Flush() публичный Метод

public Flush ( ) : void
Результат void

GetPath() публичный Метод

Always returns null. Use a non-IPC IStore for this method instead.
Using the store service for this is unnecessary since it only requires read access to the file system.
public GetPath ( ManifestDigest manifestDigest ) : string
manifestDigest ManifestDigest
Результат string

ListAll() публичный Метод

Always returns empty list. Use a non-IPC IStore for this method instead.
Using the store service for this is unnecessary since it only requires read access to the file system.
public ListAll ( ) : IEnumerable
Результат IEnumerable

ListAllTemp() публичный Метод

Always returns empty list. Use a non-IPC IStore for this method instead.
Using the store service for this is unnecessary since it only requires read access to the file system.
public ListAllTemp ( ) : IEnumerable
Результат IEnumerable

Optimise() публичный Метод

Does nothing. Should be handled by an DirectoryStore directly instead of using the service.
public Optimise ( ITaskHandler handler ) : long
handler ITaskHandler
Результат long

Remove() публичный Метод

Does nothing. Should be handled by an DirectoryStore directly instead of using the service.
public Remove ( ManifestDigest manifestDigest, ITaskHandler handler ) : bool
manifestDigest ManifestDigest
handler ITaskHandler
Результат bool

ToString() публичный Метод

Returns a fixed string.
public ToString ( ) : string
Результат string

Verify() публичный Метод

Does nothing. Should be handled by an DirectoryStore directly instead of using the service.
public Verify ( ManifestDigest manifestDigest, ITaskHandler handler ) : void
manifestDigest ManifestDigest
handler ITaskHandler
Результат void

Описание свойств

IpcAcl публичное статическое свойство

ACL for IPC named pipes. Allows object owners, normal users and the system write access.
public static CommonSecurityDescriptor IpcAcl
Результат CommonSecurityDescriptor