SmartSockets .NET Class Library

TipcMon.setServerCongestionWatch Method (Boolean, String, String, Int32, Int32)

Sets a watch on RTserver connection congestion. A MON_SERVER_CONGESTION_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 setServerCongestionWatch(
   bool status,
   string server,
   string connectedProcess,
   int highWater,
   int lowWater
);

Parameters

status
true to set the watch, false to clear it.
server
the unique subject of the server to receive the watch, or ALL
connectedProcess
the name of the RTserver conn to be monitored or ALL
highWater
the number of bytes constituting the high water threshold of the buffer
lowWater
the number of bytes constituting the high water threshold of the buffer

Exceptions

Exception TypeCondition
TipcException If an error occurs sending the message.

See Also

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


Copyright © TIBCO Software Inc. All rights reserved