Package org.opennms.protocols.wmi
Interface IWmiClient
-
- All Known Implementing Classes:
WmiClient
public interface IWmiClient
IWmiClient interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connect(java.lang.String domain, java.lang.String username, java.lang.String password, java.lang.String namespace)
connectvoid
disconnect()
disconnectOnmsWbemObjectSet
performExecQuery(java.lang.String strQuery)
performExecQueryOnmsWbemObjectSet
performExecQuery(java.lang.String strQuery, java.lang.String strQueryLanguage, java.lang.Integer flags)
performExecQueryOnmsWbemObjectSet
performInstanceOf(java.lang.String wmiClass)
performInstanceOf
-
-
-
Method Detail
-
performExecQuery
OnmsWbemObjectSet performExecQuery(java.lang.String strQuery) throws WmiException
performExecQuery
- Parameters:
strQuery
- aString
object.- Returns:
- a
OnmsWbemObjectSet
object. - Throws:
WmiException
- if any.
-
performExecQuery
OnmsWbemObjectSet performExecQuery(java.lang.String strQuery, java.lang.String strQueryLanguage, java.lang.Integer flags) throws WmiException
performExecQuery
- Parameters:
strQuery
- aString
object.strQueryLanguage
- aString
object.flags
- aInteger
object.- Returns:
- a
OnmsWbemObjectSet
object. - Throws:
WmiException
- if any.
-
performInstanceOf
OnmsWbemObjectSet performInstanceOf(java.lang.String wmiClass) throws WmiException
performInstanceOf
- Parameters:
wmiClass
- aString
object.- Returns:
- a
OnmsWbemObjectSet
object. - Throws:
WmiException
- if any.
-
connect
void connect(java.lang.String domain, java.lang.String username, java.lang.String password, java.lang.String namespace) throws WmiException
connect
- Parameters:
domain
- aString
object.username
- aString
object.password
- aString
object.namespace
- aString
object.- Throws:
WmiException
- if any.
-
disconnect
void disconnect() throws WmiException
disconnect
- Throws:
WmiException
- if any.
-
-