C# Class Dev2.Runtime.Hosting.CompileMessageRepo

Used to store compile time message ;)
Inheritance: IDisposable
Mostrar archivo Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
AddMessage ( System.Guid workspaceId, IList msgs ) : bool

Adds the message.

ClearObservable ( ) : void
CompileMessageRepo ( ) : System
CompileMessageRepo ( string persistPath, bool activateBackgroundWorker = true ) : System
Dispose ( ) : void
FetchMessages ( System.Guid workspaceId, System.Guid serviceId, IList deps, CompileMessageType filter = null ) : CompileMessageList

Fetches the messages.

FetchMessages ( System.Guid workspaceId, System.Guid serviceId, IList dependants, CompileMessageType filter = null ) : CompileMessageList
MessageCount ( System.Guid wId ) : int
Persist ( string path ) : void

Persists the specified path.

Ping ( ) : bool
RemoveMessages ( System.Guid workspaceId, System.Guid serviceId ) : bool

Removes the message.

Private Methods

Method Description
HydrateFromDisk ( string path ) : void

Hydrates from disk.

InitPersistence ( string path ) : void

Inits the persistence.

Method Details

AddMessage() public method

Adds the message.
public AddMessage ( System.Guid workspaceId, IList msgs ) : bool
workspaceId System.Guid The workspace ID.
msgs IList The MSGS.
return bool

ClearObservable() public method

public ClearObservable ( ) : void
return void

CompileMessageRepo() public method

public CompileMessageRepo ( ) : System
return System

CompileMessageRepo() public method

public CompileMessageRepo ( string persistPath, bool activateBackgroundWorker = true ) : System
persistPath string
activateBackgroundWorker bool
return System

Dispose() public method

public Dispose ( ) : void
return void

FetchMessages() public method

Fetches the messages.
public FetchMessages ( System.Guid workspaceId, System.Guid serviceId, IList deps, CompileMessageType filter = null ) : CompileMessageList
workspaceId System.Guid The workspace ID.
serviceId System.Guid The service ID.
deps IList The deps.
filter CompileMessageType The filter.
return Dev2.Data.ServiceModel.Messages.CompileMessageList

FetchMessages() public method

public FetchMessages ( System.Guid workspaceId, System.Guid serviceId, IList dependants, CompileMessageType filter = null ) : CompileMessageList
workspaceId System.Guid
serviceId System.Guid
dependants IList
filter CompileMessageType
return Dev2.Data.ServiceModel.Messages.CompileMessageList

MessageCount() public method

public MessageCount ( System.Guid wId ) : int
wId System.Guid
return int

Persist() public method

Persists the specified path.
public Persist ( string path ) : void
path string The path.
return void

Ping() public method

public Ping ( ) : bool
return bool

RemoveMessages() public method

Removes the message.
public RemoveMessages ( System.Guid workspaceId, System.Guid serviceId ) : bool
workspaceId System.Guid The workspace ID.
serviceId System.Guid The service ID.
return bool