EventData Class
        
            Module: opcua.address_space
Constructor
EventData
        
                
                    (
        
        
        
        
        
        
        
        
            
        
            - 
                                
eventTypeNode 
Parameters:
- 
                                
eventTypeNodeBaseNode 
Item Index
Methods
addEventType
                    
                            
                                (
                    
                            
                                UAObjectType
                            
                    
                    
                    
                    
                    
                    
                    
                        
                    
                        - 
                                            
options 
add a new event type to the address space
Parameters:
- 
                                            
optionsObject- 
                                                        
browseNameStringthe eventType name
 - 
                                                        
[subtypeOf="BaseEventType"]optional - 
                                                        
[isAbstract= true]optional 
 - 
                                                        
 
Returns:
                                            UAObjectType:
                                        
                            : the object type
Example:
 var evtType = namespace.addEventType({
                         browseName: "MyAuditEventType",
                         subtypeOf:  "AuditEventType"
                     });
                     var myConditionType = namespace.addEventType({
                         browseName: "MyConditionType",
                         subtypeOf:  "ConditionType",
                         isAbstract: false
                     });
                    
                    
                                findEventType
                    
                            
                                (
                    
                            
                                UAObjectType | Null
                            
                    
                    
                    
                    
                    
                    
                    
                        
                    
                        - 
                                            
eventTypeId - 
                                            
namespaceIndex 
find an EventType node in the address space
Parameters:
- 
                                            
eventTypeIdString | NodeId | UAObjectTypethe eventType to find
 - 
                                            
namespaceIndexObjectthe namespace index of the event to find
 
Returns:
                                            UAObjectType | Null:
                                        
                            the EventType found or null.
note:
- the method with throw an exception if a node is found that is not a BaseEventType or a subtype of it.
 
Example:
var evtType = addressSpace.findEventType("AuditEventType");
                    
                    
                                generateEventId
                    
                            ()
                    
                            
                                Variant
                            
                    
                    
                    
                    
                    
                    
                    
                        
                    
                        EventId is generated by the Server to uniquely identify a particular Event Notification.
Returns:
                                            Variant:
                                        
                            dataType: "ByteString"
readValue
                    
                            
                                (
                    
                            
                                Variant
                            
                    
                    
                    
                    
                    
                    
                    
                        
                    
                        - 
                                            
nodeId - 
                                            
selectClause 
Parameters:
- 
                                            
nodeIdNodeId - 
                                            
selectClauseSimpleAttributeOperand 
Returns:
resolveSelectClause
                    
                            
                                (
                    
                            
                                NodeId | Null
                            
                    
                    
                    
                    
                    
                    
                    
                        
                    
                        - 
                                            
selectClause 
Parameters:
- 
                                            
selectClauseSimpleAttributeOperand 
Returns:
                                            NodeId | Null:
                                
                            
            The NodeOPCUA API