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

com.vmware.vim25.mo.samples.QueryEvent.class Maven / Gradle / Ivy

The newest version!
????2?&com/vmware/vim25/mo/samples/QueryEventjava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis(Lcom/vmware/vim25/mo/samples/QueryEvent;usage	java/lang/SystemerrLjava/io/PrintStream;*Usage: QueryEvent server username password
java/io/PrintStreamprintln(Ljava/lang/String;)Vmain([Ljava/lang/String;)V
Exceptions!java/lang/Exception
#	%&out(java/lang/StringBuilder*Connecting to 
',
'./0append-(Ljava/lang/String;)Ljava/lang/StringBuilder;2 as 
'456toString()Ljava/lang/String;8#com/vmware/vim25/mo/ServiceInstance:java/net/URL
9,
7=>6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V@info---
7BCDgetAboutInfo()Lcom/vmware/vim25/AboutInfo;
FHGcom/vmware/vim25/AboutInfoI6getFullName
7KLMgetEventManager$()Lcom/vmware/vim25/mo/EventManager;O com/vmware/vim25/EventFilterSpec
N	
RTS com/vmware/vim25/mo/EventManagerUVcreateCollectorForEventsO(Lcom/vmware/vim25/EventFilterSpec;)Lcom/vmware/vim25/mo/EventHistoryCollector;
XZY)com/vmware/vim25/mo/EventHistoryCollector[\
getLatestPage()[Lcom/vmware/vim25/Event;^Events In the latestPage are : `Event: 
bcdgetClass()Ljava/lang/Class;
fhgjava/lang/Classi6getNamek  FullFormattedMessage: 
moncom/vmware/vim25/Eventp6getFullFormattedMessagerCaught Exception :  Name : t Message : 
 vw6
getMessagey	 Trace : 
 {|printStackTrace
7~?getServerConnection(()Lcom/vmware/vim25/mo/ServerConnection;
???$com/vmware/vim25/mo/ServerConnection?logoutargs[Ljava/lang/String;urlStrLjava/lang/String;usernamepasswordsi%Lcom/vmware/vim25/mo/ServiceInstance;
_eventManager"Lcom/vmware/vim25/mo/EventManager;eventFilter"Lcom/vmware/vim25/EventFilterSpec;history+Lcom/vmware/vim25/mo/EventHistoryCollector;events[Lcom/vmware/vim25/Event;iIanEventLcom/vmware/vim25/Event;eLjava/lang/Exception;
StackMapTable??java/lang/String?
SourceFileQueryEvent.java!/*??
0

-	???

56	 y*???"?*2L*2M*2N?$?'Y)?++?-1?-,?-?3??7Y?9Y+?;,-?<:?$?'Y??+?A?E?-?3??J:?NY?P:?Q:?W:?$]?6	?7	2:
?$?'Y_?+
?a?e?-j?-
?l?-?3??		???ǧ9:?$?'Yq?+?a?e?-s?-?u?-x?-?3??z?}???f?? 
?!;=	>
ABCE5GBHDGIJfOmPvRxS}RT?V?W?Y?Z?[?\?Z?W?^?`?a?b`c	fhz?????????I???mf??v]??T???M??????	?*??
?4???A
??
????7RNX?3?
????7 5??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy