Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Set the interval at which the client tests network connectivity

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public static void SetPingInterval(
    	int seconds
    )

    Public Shared Sub SetPingInterval ( _
    	seconds As Integer _
    )

    public:
    static void SetPingInterval(
    	int seconds
    )

#### Parameters

seconds
  Type: System..::.Int32
  Ping at this interval (in seconds).

  Zero is a special value that disables ping testing.

# Remarks

Clients test network connectivity by sending ping requests to the server at regular intervals. This method sets that interval (in seconds). If your program calls this method, it must do so before creating its first Connection object; after creating that object, this call has no effect.

# See Also

Tibems Class
TIBCO.EMS Namespace