org.opennms.protocols.wmi
Interface IWmiClient

All Known Implementing Classes:
WmiClient

public interface IWmiClient

IWmiClient interface.

Version:
$Id: $
Author:
ranger

Method Summary
 void connect(String domain, String username, String password)
          connect
 void disconnect()
          disconnect
 OnmsWbemObjectSet performExecQuery(String strQuery)
          performExecQuery
 OnmsWbemObjectSet performExecQuery(String strQuery, String strQueryLanguage, Integer flags)
          performExecQuery
 OnmsWbemObjectSet performInstanceOf(String wmiClass)
          performInstanceOf
 

Method Detail

performExecQuery

OnmsWbemObjectSet performExecQuery(String strQuery)
                                   throws WmiException

performExecQuery

Parameters:
strQuery - a String object.
Returns:
a OnmsWbemObjectSet object.
Throws:
WmiException - if any.

performExecQuery

OnmsWbemObjectSet performExecQuery(String strQuery,
                                   String strQueryLanguage,
                                   Integer flags)
                                   throws WmiException

performExecQuery

Parameters:
strQuery - a String object.
strQueryLanguage - a String object.
flags - a Integer object.
Returns:
a OnmsWbemObjectSet object.
Throws:
WmiException - if any.

performInstanceOf

OnmsWbemObjectSet performInstanceOf(String wmiClass)
                                    throws WmiException

performInstanceOf

Parameters:
wmiClass - a String object.
Returns:
a OnmsWbemObjectSet object.
Throws:
WmiException - if any.

connect

void connect(String domain,
             String username,
             String password)
             throws WmiException

connect

Parameters:
domain - a String object.
username - a String object.
password - a String object.
Throws:
WmiException - if any.

disconnect

void disconnect()
                throws WmiException

disconnect

Throws:
WmiException - if any.


Copyright © 2011. All Rights Reserved.