Cue CueSiteManager Programmers Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 32
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
24
Cue Site Manager / Programmer’s Manual / CSMDataProvider (driver)
© CUE, a.s. All Rights Reserved. | www.cuesystem.com | [email protected]
OnUserHelpRequestChange As Process (ishelprequest As Boolean)
OnUserMaintenanceRequestChange As Process (ismaintenancerequest As Boolean)
OnUserSecurityAlertChange As Process (issecurityalert As Boolean)
OnUserServiceRequestChange As Process (isservicerequest As Boolean)
Scope: Global
This events are raised each time given requests (alert) is changed (by functions SetUserHelpRequest,
SetUserServiceRequest, …, ClearUserHelpRequest, … or by remote clear of user requests from operator). In
parameter ishelprequest (isservicerequest, …) is boolean value, if user request is active or not. You can link
process to this event for example for displaying requests on touchpanel.
Example
Private Process CSMDataProvider1_OnUserSecurityAlertChange( issecurityalert As Boolean)
Link CSMDataProvider1.OnUserSecurityAlertChange
FullscreenWindow1.IndicatorAlert.SetValue(issecurityalert)
End Process
OnAttack As Process (fromipaddress As Text, fromport As Long)
Scope: Global
This event is generated, if somebody try to connect with CSMDataProvider driver and communication fails due
to wrong message format or wrong password. It is evaluated as potencial attack. IP address and incoming
port of attack are stored in parameters fromipaddress and fromport. You can use process linked to this event
for example for displaying info about potecial attack on touchpanel.
Example
Private Process CSMDataProvider1_OnAttack( fromipaddress As Text, fromport As Long )
Link CSMDataProvider1.OnAttack
Private Var T As Text[100]
FormatText (T, “Potencial attack from IP address: {t}:{n}”, fromipaddress, fromport)
FullscreenWindow1.StaticTextAttack.SetText(T)
End Process
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 30 31 32

Commentaires sur ces manuels

Pas de commentaire