DatacenterBrokerEventInfo

public interface DatacenterBrokerEventInfo extends EventInfo

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

Author:Manoel Campos da Silva Filho

Methods

getDatacenterBroker

DatacenterBroker getDatacenterBroker()

Gets the DatacenterBroker for which the event happened.

of

static DatacenterBrokerEventInfo of(EventListener<? extends EventInfo> listener, DatacenterBroker broker)

Gets a DatacenterBrokerEventInfo instance from the given parameters.

Parameters:
  • listener – the listener to be notified about the event
  • broker – the DatacenterBroker where the event happened