IHtmlTrLoadBalancer Interface
The IHtmlTrLoadBalancer interface manages the load on multiple servers hosting document conversion launcher services.
Public Methods
The following table shows the methods of the IHtmlTrLoadBalancer interface and a brief description of each.
Name | Description |
---|---|
LauncherTaskCompleted(String, String) | Notifies the load balancer that the specified task is finished on the specified server. |
RegisterLauncher(String) | Notifies the load balancer that the specified server is available for document conversion tasks. |
StrGetLauncher(String) | Returns the server to use for the specified document conversion task. |
UnRegisterLauncher(String) | Notifies the load balancer that the specified server is no longer available for document conversion tasks. |
Remarks
The IHtmlTrLoadBalancer interface manages the load on multiple servers hosting document conversion launcher services by tracking the tasks assigned to each server and assigning new document conversion tasks to the server with the smallest current load.
Example
For a code example that demonstrates the use of the IHtmlTrLoadBalancer and IHtmlTrLauncher interfaces, see the CHICreateHtml method.
Requirements
Namespace: Microsoft.HtmlTrans.Interface
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft HtmlTrans Interface (in Microsoft.HtmlTrans.Interface.dll)
Security: Code Access Security