Unit rtcLoadBalance

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

Description

Load Balancer component - Copyright 2004-2018 (c) Teppi Technology (https://rtc.teppi.net)

This unit implements the TRtcLoadBalancer component used for writing HTTP/S Load Balancers.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TRtcLoadBalancerSession  
Class TRtcLoadBalancer RTC Load Balancer component: Can be used for balancing one web application or any number of static web pages

Types

TRtcDataClientClass = class of TRtcDataClient;
TRtcLoadBalanceType = (...);
TRtcLoadBalanceOrder = (...);
TRtcLoadBalancerRequestSessionBodyEvent = procedure(Sender:TRtcDataServer; var NeedContent:boolean) of object;
TRtcLoadBalancerResponseSessionBodyEvent = procedure(Sender:TRtcDataClient; var NeedContent:boolean) of object;
TRtcLoadBalancerRequestSessionSetEvent = procedure(Sender:TRtcDataServer; Content:TRtcRouterContentBody; Session:TRtcLoadBalancerSession) of object;
TRtcLoadBalancerResponseSessionSetEvent = procedure(Sender:TRtcDataClient; Content:TRtcRouterContentBody; Session:TRtcLoadBalancerSession) of object;
TRtcLoadBalancerRequestOrderEvent = procedure(Sender:TRtcDataServer; var RequestOrder:TRtcLoadBalanceOrder) of object;

Variables

TRtcLoadBalanceClient:TRtcDataClientClass=TRtcHttpClient;

Description

Types

TRtcDataClientClass = class of TRtcDataClient;
 
TRtcLoadBalanceType = (...);
 
Values
  • lbt_SessionBalance
  • lbt_RequestBalance
  • lbt_RoundRobin
TRtcLoadBalanceOrder = (...);
 
Values
  • lbo_FIFO
  • lbo_LIFO
  • lbo_Random
  • lbo_Chance
TRtcLoadBalancerRequestSessionBodyEvent = procedure(Sender:TRtcDataServer; var NeedContent:boolean) of object;
 
TRtcLoadBalancerResponseSessionBodyEvent = procedure(Sender:TRtcDataClient; var NeedContent:boolean) of object;
 
TRtcLoadBalancerRequestSessionSetEvent = procedure(Sender:TRtcDataServer; Content:TRtcRouterContentBody; Session:TRtcLoadBalancerSession) of object;
 
TRtcLoadBalancerResponseSessionSetEvent = procedure(Sender:TRtcDataClient; Content:TRtcRouterContentBody; Session:TRtcLoadBalancerSession) of object;
 
TRtcLoadBalancerRequestOrderEvent = procedure(Sender:TRtcDataServer; var RequestOrder:TRtcLoadBalanceOrder) of object;
 

Variables

TRtcLoadBalanceClient:TRtcDataClientClass=TRtcHttpClient;
 

Generated by PasDoc 0.14.0.