uaPLUS Reference
OnEvent Delegate
See Also  Send Feedback
NSPlugin Namespace : OnEvent Delegate

clientSubscription
refresh
lastRefresh
count
events

Glossary Item Box

Definition of the generic server callback method.
DON'T USE IT DIRECTLY. Use the instance cbOnEvent.

clientSubscription: the client handle for the subscription object sending the event notifications.
refresh: TRUE if this is a subscription refresh.
lastRefresh: TRUE if this is the last subscription refresh in response to a specific
invocation of the EventSubscriptionMgt.Refresh method.
count : Number of event notifications. A value of zero indicates this is a keep-alive
notification (see EventSubscriptionMgt2.SetKeepAlive() ).
events : Array of event notifications.

Syntax

Visual Basic (Declaration) 
Public Delegate Function OnEvent( _
   ByVal clientSubscription As Integer, _
   ByVal refresh As Boolean, _
   ByVal lastRefresh As Boolean, _
   ByVal count As Integer, _
   ByVal events() As EventData _
) As Integer
C# 
public delegate int OnEvent( 
   int clientSubscription,
   bool refresh,
   bool lastRefresh,
   int count,
   EventData[] events
)

Parameters

clientSubscription
refresh
lastRefresh
count
events

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.