Logo fantomas

IDaemon Type

What the cache needs of a daemon it is holding: enough to tell a live one from a crashed one, to start a replacement the way the original was started, and to let one go. This, rather than `RunningFantomasTool`, is what `'daemon` stands for everywhere in this module. It is an interface so that the cache can be exercised without starting a process: everything here is a question about a daemon, and none of it needs the daemon to be a real one.

Instance members

Instance member Description

this.IsRunning

Full Usage: this.IsRunning

Returns: bool
Modifiers: abstract

Whether it can still serve a request: the process is up and the connection to it has not ended. A daemon failing either half is disposed and replaced.

Returns: bool

this.StartInfo

Full Usage: this.StartInfo

Returns: FantomasToolStartInfo
Modifiers: abstract

How this daemon was started, so a crashed one can be replaced the way it was created rather than the way the folder asking for it resolves now.

Returns: FantomasToolStartInfo

Type something to start searching.