Class ComplianceEvent


  • public class ComplianceEvent
    extends Event
    A sub class of main Event which is specifically for ComplianceEvents.
    • Constructor Detail

      • ComplianceEvent

        public ComplianceEvent​(Thing thing,
                               java.lang.String name,
                               java.lang.Object data,
                               java.lang.String requestId)
    • Method Detail

      • getRequestId

        public java.lang.String getRequestId()
        Get requestId of the ComplianceEvent.
        Returns:
        requestId.
      • setNixNotified

        public void setNixNotified​(int nixNotified)
        Set nix notified.
        Parameters:
        nixNotified - notified status.
      • getNixNotified

        public int getNixNotified()
        get nix notified.
        Returns:
        nix notified status.
      • setNotifyCount

        public void setNotifyCount​(int notifyCount)
        Set nix notify count.
        Parameters:
        notifyCount - notify count.
      • getNotifyCount

        public int getNotifyCount()
        Get notify count.
        Returns:
        notify count.
      • getSocketUrl

        public java.lang.String getSocketUrl()
        Get Url of the Socket.
        Returns:
        SocketUrl.
      • updateValue

        public void updateValue​(java.lang.String value)
        Update value.
        Parameters:
        value - value.
      • getComplianceEvents

        public static org.json.JSONObject getComplianceEvents()
        Get all Compliance events.
        Returns:
        All Complinace events.