SmartSockets .NET Class Library

TipcMon.setSubjectSubscribeWatch Method (String, Boolean)

Sets a watch on the subject subscription statistics in the current project. A MON_SUBJECT_SUBSCRIBE_STATUS message is returned.

Note: This method should only be invoked when using a single, global RTserver connection via the Srv method.

public static void setSubjectSubscribeWatch(
   string subject,
   bool status
);

Parameters

subject
subject to watch.
status
true to set the watch, false to clear it.

Exceptions

Exception TypeCondition
TipcBadArgumentException If the subject is invalid
TipcException If an error occurs sending the message.

See Also

TipcMon Class | TipcMon Members | TIBCO.SMARTSOCKETS Namespace | TipcMon.setSubjectSubscribeWatch Overload List


Copyright © TIBCO Software Inc. All rights reserved