Package org.opennms.protocols.wmi
Interface IWmiClient
-
- All Known Implementing Classes:
WmiClient
public interface IWmiClientIWmiClient interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnect(String domain, String username, String password, String namespace)connectvoiddisconnect()disconnectOnmsWbemObjectSetperformExecQuery(String strQuery)performExecQueryOnmsWbemObjectSetperformExecQuery(String strQuery, String strQueryLanguage, Integer flags)performExecQueryOnmsWbemObjectSetperformInstanceOf(String wmiClass)performInstanceOf
-
-
-
Method Detail
-
performExecQuery
OnmsWbemObjectSet performExecQuery(String strQuery) throws WmiException
performExecQuery
- Parameters:
strQuery- aStringobject.- Returns:
- a
OnmsWbemObjectSetobject. - Throws:
WmiException- if any.
-
performExecQuery
OnmsWbemObjectSet performExecQuery(String strQuery, String strQueryLanguage, Integer flags) throws WmiException
performExecQuery
- Parameters:
strQuery- aStringobject.strQueryLanguage- aStringobject.flags- aIntegerobject.- Returns:
- a
OnmsWbemObjectSetobject. - Throws:
WmiException- if any.
-
performInstanceOf
OnmsWbemObjectSet performInstanceOf(String wmiClass) throws WmiException
performInstanceOf
- Parameters:
wmiClass- aStringobject.- Returns:
- a
OnmsWbemObjectSetobject. - Throws:
WmiException- if any.
-
connect
void connect(String domain, String username, String password, String namespace) throws WmiException
connect
- Parameters:
domain- aStringobject.username- aStringobject.password- aStringobject.namespace- aStringobject.- Throws:
WmiException- if any.
-
disconnect
void disconnect() throws WmiExceptiondisconnect
- Throws:
WmiException- if any.
-
-