C# Class Dev2.Diagnostics.Debug.DebugDispatcher

Inheritance: IDebugDispatcher
显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
Add ( System.Guid workspaceId, IDebugWriter writer ) : void

Adds the specified writer to the dispatcher.

Flush ( ) : void
Get ( System.Guid workspaceId ) : IDebugWriter

Gets the writer for the given workspace ID.

Remove ( System.Guid workspaceId ) : void

Removes the specified workspace from the dispatcher.

Shutdown ( ) : void
Write ( IDebugState debugState, bool isRemoteInvoke = false, string remoteInvokerId = null, string parentInstanceId = null, IList remoteDebugItems = null ) : void

Private Methods

Method Description
DebugDispatcher ( ) : System
QueueWrite ( IDebugState debugState ) : void
WriteLoop ( ) : void

Method Details

Add() public method

Adds the specified writer to the dispatcher.
public Add ( System.Guid workspaceId, IDebugWriter writer ) : void
workspaceId System.Guid The ID of the workspace to which the writer belongs.
writer IDebugWriter The writer to be added.
return void

Flush() public method

public Flush ( ) : void
return void

Get() public method

Gets the writer for the given workspace ID.
public Get ( System.Guid workspaceId ) : IDebugWriter
workspaceId System.Guid The workspace ID to be queried.
return IDebugWriter

Remove() public method

Removes the specified workspace from the dispatcher.
public Remove ( System.Guid workspaceId ) : void
workspaceId System.Guid The ID of workspace to be removed.
return void

Shutdown() public method

public Shutdown ( ) : void
return void

Write() public method

public Write ( IDebugState debugState, bool isRemoteInvoke = false, string remoteInvokerId = null, string parentInstanceId = null, IList remoteDebugItems = null ) : void
debugState IDebugState
isRemoteInvoke bool
remoteInvokerId string
parentInstanceId string
remoteDebugItems IList
return void