SmartSockets .NET Class Library

TipcMt.LbMode Property

Gets/Set the load balancing mode of a message type.

The load balancing mode of a message controls how (or if) the message is load balanced among RTclients subscribed to a load balanced subject. The load balancing mode of a message type is used as the default load balancing mode for message of this type. When a message is created, its load balancing mode is initialized to the message type load balancing mode.

Valid load balancing modes: LB_NONE, LB_ROUND_ROBIN, LB_SORTED, and LB_WEIGHTED

The load balancing mode of an outgoing message can always be set on a per-message basis, but using message type load balancing mode makes it easier to change the default load balancing mode for all ougoing messages of a specific type. The standard SmartSockets message types by default all have a load balancing mode of LB_NONE
public virtual int LbMode {get; set;}

Exceptions

Exception TypeCondition
TipcBadArgumentException If load balancing mode is not valid.

See Also

TipcMt Class | TipcMt Members | TIBCO.SMARTSOCKETS Namespace | LbMode


Copyright © TIBCO Software Inc. All rights reserved