SmartSockets .NET Class Library

TipcSrv.setSubjectSubscribeLb Method 

set the subscribe and load balancing status on a subject.

public virtual void setSubjectSubscribeLb(
   string subject,
   bool status,
   bool lb_status
);

Parameters

subject
the subject to set the status on
status
the status to set, true to subscribe, false to unsubscribe.
lb_status
the status to set, true to enable load balancing, false to disable load balancing.

Exceptions

Exception TypeCondition
TipcBadArgumentException If the subject is invalid.
TipcAlreadySubscribedException If already subscribed to subject.
TipcNotSubscribedException If not subscribed to subject
TipcException For all other errors.

See Also

TipcSrv Class | TipcSrv Members | TIBCO.SMARTSOCKETS Namespace


Copyright © TIBCO Software Inc. All rights reserved