Jvmstat

sun.jvmstat.monitor.event
Class HostEvent

java.lang.Object
  extended by java.util.EventObject
      extended by sun.jvmstat.monitor.event.HostEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
VmStatusChangeEvent

public class HostEvent
extends EventObject

Base class for events emitted by a MonitoredHost.

Since:
1.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HostEvent(MonitoredHost host)
          Construct a new HostEvent instance.
 
Method Summary
 MonitoredHost getMonitoredHost()
          Return the MonitoredHost source of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostEvent

public HostEvent(MonitoredHost host)
Construct a new HostEvent instance.

Parameters:
host - the MonitoredHost source of the event.
Method Detail

getMonitoredHost

public MonitoredHost getMonitoredHost()
Return the MonitoredHost source of this event.

Returns:
MonitoredHost - the source of this event.

Jvmstat