Class HostProbingEvent

    • Constructor Detail

      • HostProbingEvent

        public HostProbingEvent​(HostProbingEvent.Type type,
                                HostProbe subject)
        Creates an event of a given type and for the specified host probe and the current time.
        Parameters:
        type - probing host event type
        subject - event subject
      • HostProbingEvent

        public HostProbingEvent​(HostProbingEvent.Type type,
                                HostProbe subject,
                                long time)
        Creates an event of a given type and for the specified host probe and time.
        Parameters:
        type - probing host event type
        subject - event subject
        time - occurrence time
      • HostProbingEvent

        public HostProbingEvent​(HostProbingEvent.Type type,
                                HostProbe subject,
                                HostProbe prevSubject)
        Creates an event with previous subject. The previous subject is ignored if the type is not PROBE_TIMEOUT
        Parameters:
        type - host event type
        subject - event subject
        prevSubject - previous host subject
      • HostProbingEvent

        public HostProbingEvent​(HostProbingEvent.Type type,
                                HostProbe subject,
                                HostProbe prevSubject,
                                long time)
        Creates an event with previous subject and specified time. The previous subject is ignored if the type is not PROBE_TIMEOUT
        Parameters:
        type - host event type
        subject - event subject
        prevSubject - previous host subject
        time - occurrence time