com.vmware.vim25.mo
Class EventHistoryCollector

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.HistoryCollector
          extended by com.vmware.vim25.mo.EventHistoryCollector

public class EventHistoryCollector
extends HistoryCollector

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
EventHistoryCollector(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 EventFilterSpec getFilter()
           
 Event[] getLatestPage()
           
 Event[] readNextEvents(int maxCount)
           
 Event[] readPreviousEvents(int maxCount)
           
 
Methods inherited from class com.vmware.vim25.mo.HistoryCollector
destroyCollector, resetCollector, rewindCollector, setCollectorPageSize
 
Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventHistoryCollector

public EventHistoryCollector(ServerConnection serverConnection,
                             ManagedObjectReference mor)
Method Detail

getFilter

public EventFilterSpec getFilter()

getLatestPage

public Event[] getLatestPage()

readNextEvents

public Event[] readNextEvents(int maxCount)
                       throws RuntimeFault,
                              RemoteException
Throws:
RuntimeFault
RemoteException

readPreviousEvents

public Event[] readPreviousEvents(int maxCount)
                           throws RuntimeFault,
                                  RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.