All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.mo.samples.event.QueryHistoricalEvents.class Maven / Gradle / Ivy

The newest version!
????2?7com/vmware/vim25/mo/samples/event/QueryHistoricalEventsjava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis9Lcom/vmware/vim25/mo/samples/event/QueryHistoricalEvents;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception	java/lang/SystemoutLjava/io/PrintStream;=Usage: java QueryHistoricalEvents   
java/io/PrintStream println(Ljava/lang/String;)V"#com/vmware/vim25/mo/ServiceInstance$java/net/URL
#& 
!()6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
!+,-getEventManager$()Lcom/vmware/vim25/mo/EventManager;/ com/vmware/vim25/EventFilterSpec
.	
243 com/vmware/vim25/mo/EventManager56createCollectorForEventsO(Lcom/vmware/vim25/EventFilterSpec;)Lcom/vmware/vim25/mo/EventHistoryCollector;
8:9)com/vmware/vim25/mo/EventHistoryCollector;<
getLatestPage()[Lcom/vmware/vim25/Event;
>?@printEvents([Lcom/vmware/vim25/Event;I)VB
Before Latest Page:
8DEresetCollector
8GHIreadPreviousEvents(I)[Lcom/vmware/vim25/Event;
!KLMgetServerConnection(()Lcom/vmware/vim25/mo/ServerConnection;
OQP$com/vmware/vim25/mo/ServerConnectionRlogoutargs[Ljava/lang/String;si%Lcom/vmware/vim25/mo/ServiceInstance;evtMgr"Lcom/vmware/vim25/mo/EventManager;eventFilter"Lcom/vmware/vim25/EventFilterSpec;ehc+Lcom/vmware/vim25/mo/EventHistoryCollector;totalI
latestEvts[Lcom/vmware/vim25/Event;events
StackMapTableT`fjava/lang/StringBuilderhEvent[
e&
eklmappend(I)Ljava/lang/StringBuilder;o]=
eqlr-(Ljava/lang/String;)Ljava/lang/StringBuilder;
tuvgetClass()Ljava/lang/Class;
xzyjava/lang/Class{|getName()Ljava/lang/String;
e~|toString?Event: 
???com/vmware/vim25/Event??getCreatedTime()Ljava/util/Calendar;
???java/util/Calendar??getTime()Ljava/util/Date;
e?l?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;i
SourceFileQueryHistoricalEvents.java!/*??
-
	??*??????!Y?#Y*2?%*2*2?'L+?*M,?c?.Y?0N,-?1:6?7:?=???`6?A??C2?F:???=?`6???+?J?N?
f13589$8(;-=1?9A>@@CCEJFPGaIiJnMwN|PR?S?K?V?WR?ST(qUV-lWX9XYZ@Q[\CN]^JG_`wa`bQ?Kc!2.8d?c!2.8d?d?c!2?@?V=?M??eYg?i`?jn?p*2?s?w?p?}???eY??i*2???????}??*?????
[].^L[U` Va`V]^S?^b	??I??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy