public class HostProbingEvent extends AbstractEvent<HostProbingEvent.Type,HostProbe>
| Modifier and Type | Class and Description |
|---|---|
static class |
HostProbingEvent.Type
Type of host probing events.
|
| Constructor and Description |
|---|
HostProbingEvent(HostProbingEvent.Type type,
HostProbe subject)
Creates an event of a given type and for the specified host probe and the
current time.
|
HostProbingEvent(HostProbingEvent.Type type,
HostProbe subject,
HostProbe prevSubject)
Creates an event with previous subject.
|
HostProbingEvent(HostProbingEvent.Type type,
HostProbe subject,
HostProbe prevSubject,
long time)
Creates an event with previous subject and specified time.
|
HostProbingEvent(HostProbingEvent.Type type,
HostProbe subject,
long time)
Creates an event of a given type and for the specified host probe and time.
|
| Modifier and Type | Method and Description |
|---|---|
HostProbe |
prevSubject()
Gets the previous subject in this host probe event.
|
String |
toString() |
subject, time, typepublic HostProbingEvent(HostProbingEvent.Type type, HostProbe subject)
type - probing host event typesubject - event subjectpublic HostProbingEvent(HostProbingEvent.Type type, HostProbe subject, long time)
type - probing host event typesubject - event subjecttime - occurrence timepublic HostProbingEvent(HostProbingEvent.Type type, HostProbe subject, HostProbe prevSubject)
type - host event typesubject - event subjectprevSubject - previous host subjectpublic HostProbingEvent(HostProbingEvent.Type type, HostProbe subject, HostProbe prevSubject, long time)
type - host event typesubject - event subjectprevSubject - previous host subjecttime - occurrence timepublic HostProbe prevSubject()
public String toString()
toString in class AbstractEvent<HostProbingEvent.Type,HostProbe>