adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler Class / AutoKeepAlive Property


In This Topic
    AutoKeepAlive Property
    In This Topic
    Determines whether the client will automatically ping the server periodically to keep the connection alive.
    Syntax
    'Declaration
     
    
    Public Property AutoKeepAlive As Boolean
    public bool AutoKeepAlive {get; set;}
    public:
    property bool AutoKeepAlive {
       bool get();
       void set (    bool value);
    }
    Remarks
    If AutoKeepAlive is True (default), the client will ping the server periodically to prevent the socket session from timing out. If AutoKeepAlive is False, there will be no automatic ping, and the session may time out if the calling application does not generate enough activity. Set this to True unless you are regularly (no more than 5 minutes apart) calling methods that generate calls to the server.
    See Also