HostEventInfo

public interface HostEventInfo extends EventInfo

An interface that represents data to be passed to EventListener objects that are registered to be notified when some events happen for a given Host.

Author:Manoel Campos da Silva Filho

See also: VmHostEventInfo, HostUpdatesVmsProcessingEventInfo

Methods

getHost

Host getHost()

Gets the Host for which the event happened.

of

static HostEventInfo of(EventListener<? extends EventInfo> listener, Host host, double time)

Gets a EventInfo instance from the given parameters.

Parameters:
  • listener – the listener to be notified about the event
  • time – the time the event happened