Class WebHandler
Version 1.0
Modified 08-MAR-2026 11:05:32.00
 WebHandler is obsolete. Use WebSocketServer instead.

 The WebHandler object defines a website on a ProviewR node.

 The existence of a WebHandler object in a node will cause a
 server process (GdhServer) to start, which provides the graph-applets
 with information from the realtime database.

See also



RtBody attributes pwr_sClass_WebHandler
String80 Description   Optional description.
Int32 MaxConnections   Max number of web connections to the GdhServer process
Int32 CurrentConnections   Number of current connection to the GdhServer process
String80 FileName   Obsolete since V5.4.
String80 Title   Obsolete since V5.4.
String80 Text   Obsolete since V5.4.
Boolean EnableLanguage   Obsolete since V5.4.
Boolean EnableLogin   Obsolete since V5.4.
Boolean EnableAlarmList   Obsolete since V5.4.
Boolean EnableEventLog   Obsolete since V5.4.
Boolean EnableNavigator   Obsolete since V5.4.
Boolean DisableHelp   Obsolete since V5.4.
Boolean DisableProview   Obsolete since V5.4.
Objid UserObject   Obsolete since V4.7.0.
LanguageEnum Language   Obsolete since V5.4.
String80 StyleSheet   Obsolete since V5.4.
String80 StartURL   Obsolete since V5.4.
String256 LoadArchives   Obsolete since V5.4.
String80 PwrHost   Obsolete since V5.4.
String80 AppletSignature   Obsolete since V5.4.
Array of String80 EventSelectList   A message created by an ASup or DSup object gets the
same identity as the supervised object. Messages
produced in an application by means of mh_ApplMessage
(see ProviewR Programmer's Reference Manual) get an
identity according to the calling parameter EventName.

SelectList specifies the hierarchies from which
messages are to be sent to the user. Up to 20 different
hierarchies can be specified. If messages from e.g. a
Watchdog object in a node will be received, then the
name of the node will be specified.

Note! If the SelectList is left blank no message at all is
sent to the user.
EventTypeMask EventSelectType   Specifies the type of events that are sent to the user.
If no type is specified, all types av events are sent.
UInt32 MaxNoOfAlarms   Specifies the maximum number of contemporary alarms in
the user's alarm list.
The number should exceed the maximum number of
concurrent alarms in the system.
If the limit is exceeded, alarms might be lost.
UInt32 MaxNoOfEvents   Specifies the maximum number of contemporary events in
the user's event list, i.e. the skyline of the events.
When the number of events exceeds MaxNoOfEvents the
oldest event disappears from the list.
To this list events are sent from the message handler
in respective node. In each node the message handler
has its own skyline of events (also named MaxNoOfEvents)
defined by a MessageHandler object. In principle, the
User object's skyline of events should be selected as å
MaxNoOfEvents, added up over MaxNoOfEvents in the
MessageHandler objects in all nodes throughout the
ProviewR system, or make it simple and assign the
attribute e.g. 200.
Boolean AppUseWebDir   Obsolete since V5.4.


Template Object
FileName index.html
MaxConnections 50
MaxNoOfAlarms 200
MaxNoOfEvents 500
AppUseWebDir 1


Attributes detail


Description Attribute
Class Attribute
Type String80
Flags
Body RtBody
 Optional description.

MaxConnections Attribute
Class Attribute
Type Int32
Flags
Body RtBody
 Max number of concurrent connections to the GdhServer process.
 Every graph-applet that is displayed, opens a link to the GdhServer
 process. If MaxConnections is exceeded, the connect request will
 be rejected.

CurrentConnections Attribute
Class Attribute
Type Int32
Flags STATE | INVISIBLE
Body RtBody
 Number of current connections to the GdhSever process.
 Every graph-applet opens a link to the GdhServer process. The current
 number of links is displayed in this attribute.

FileName Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

Title Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

Text Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

EnableLanguage Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

EnableLogin Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

EnableAlarmList Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

EnableEventLog Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

EnableNavigator Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

DisableHelp Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

DisableProview Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

UserObject Attribute
Class Attribute
Type Objid
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V4.7.0.

Language Attribute
Class Attribute
Type LanguageEnum
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

StyleSheet Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

StartURL Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

LoadArchives Attribute
Class Attribute
Type String256
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

PwrHost Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

AppletSignature Attribute
Class Attribute
Type String80
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.

EventSelectList Attribute
Class Attribute
Type Array of String80
Flags ARRAY
Elements 40
Body RtBody
 A message created by an ASup or DSup object gets the
 same identity as the supervised object. Messages
 produced in an application by means of mh_ApplMessage
 (see ProviewR Programmer's Reference Manual) get an
 identity according to the calling parameter EventName.

 SelectList specifies the hierarchies from which
 messages are to be sent to the user. Up to 20 different
 hierarchies can be specified. If messages from e.g. a
 Watchdog object in a node will be received, then the
 name of the node will be specified.

 Note! If the SelectList is left blank no message at all is
 sent to the user.

EventSelectType Attribute
Class Attribute
Type EventTypeMask
Flags
Body RtBody
 Specifies the type of events that are sent to the user.
 If no type is specified, all types av events are sent.

MaxNoOfAlarms Attribute
Class Attribute
Type UInt32
Flags
Body RtBody
 Specifies the maximum number of contemporary alarms in
 the user's alarm list.
 The number should exceed the maximum number of
 concurrent alarms in the system.
 If the limit is exceeded, alarms might be lost.

MaxNoOfEvents Attribute
Class Attribute
Type UInt32
Flags
Body RtBody
 Specifies the maximum number of contemporary events in
 the user's event list, i.e. the skyline of the events.
 When the number of events exceeds MaxNoOfEvents the
 oldest event disappears from the list.
 To this list events are sent from the message handler
 in respective node. In each node the message handler
 has its own skyline of events (also named MaxNoOfEvents)
 defined by a MessageHandler object. In principle, the
 User object's skyline of events should be selected as å
 MaxNoOfEvents, added up over MaxNoOfEvents in the
 MessageHandler objects in all nodes throughout the
 ProviewR system, or make it simple and assign the
 attribute e.g. 200.

AppUseWebDir Attribute
Class Attribute
Type Boolean
Flags STATE | INVISIBLE | RTHIDE
Body RtBody
 Obsolete since V5.4.