DANSrvAE Reference
onSetKeepAlive Method
See Also  Send comments on this topic.
NSPlugin Assembly > NSPlugin Namespace > EventSubscription Class : onSetKeepAlive Method

_keepAliveTime
The maximum amount of time (in milliseconds) the client expects to receive a new subscription callback since the last subscription callback. A value of zero indicates the client does not wish to receive any keep-alive callbacks.
revisedKeepAliveTime
The KeepAliveTime the server is actually providing, which may differ from keepAliveTime.

Glossary Item Box

Cancel default handler that maybe overloaded by NSPluginAEbase.

Syntax

Visual Basic (Declaration) 
Public Overridable Function onSetKeepAlive( _
   ByVal _keepAliveTime As Integer, _
   ByRef revisedKeepAliveTime As Integer _
) As Integer
C# 
public virtual int onSetKeepAlive( 
   int _keepAliveTime,
   out int revisedKeepAliveTime
)

Parameters

_keepAliveTime
The maximum amount of time (in milliseconds) the client expects to receive a new subscription callback since the last subscription callback. A value of zero indicates the client does not wish to receive any keep-alive callbacks.
revisedKeepAliveTime
The KeepAliveTime the server is actually providing, which may differ from keepAliveTime.

Return Value

HResult success/error code

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

© 2004-2017 Advosol Inc. All Rights Reserved.