Grid eXchange Fabric Documentation

  Fix This Page

SetEventNotifications

Description

Request which contains the EventNotification mask.

Response communicates status.

Message definitions

message SetEventNotificationsRequest {
    required uint32 NotificationMask = 1; // Bitmask for max 32 events, using NotificationBit for bit positions.
}

message SetEventNotificationsResponse {
    required Status status = 1;
}

Data types

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

Example

Soap requests and responses sent to and from platform:


   
   LianderNetManagement
   liander gebruiker
   WEB_NET_MANAGEMENT
   
   
      
         
         device-01
         DIAG_EVENTS
         HARDWARE_FAILURE
         LIGHT_EVENTS
         TARIFF_EVENTS
         MONITOR_EVENTS
         FIRMWARE_EVENTS
         COMM_EVENTS
         SECURITY_EVENTS
      
   



   
   
      
         
            LianderNetManagement|||device-01|||20160104145052565
            device-01
         
      
   



   
   LianderNetManagement
   liander gebruiker
   WEB_NET_MANAGEMENT
   
   
      
         
            
            LianderNetManagement|||device-01|||20160104145052565
            
            device-01
         
      
   



   
   
      
         OK
      
   

OSLP SetEventNotificationsRequest sent to 'device-01' to set EventNotifications:

setEventNotificationsRequest {
  NotificationMask: 255
}

OSLP SetEventNotificationsResponse sent to platform:

setEventNotificationsResponse {
  status: OK
}