Send a command to a custom connector
Overview
Send a generic command to a custom connector by using the SendGenericCommandToCustomConnector method.
Examples
The goal is to send generic commands to a custom connector.
Example 1:
The custom connector file name is QvEventLogConnectorSimple.exe.
The command that the custom connector should execute is JsonRequest and the method name is getInfo. There is no parameters for that command.
The method getInfo is a method that is recognized by the connector QvEventLogConnectorSimple.exe.
The client sends:
The engine returns:
The result of the JsonRequest command is returned.
Example 2:
The custom connector file name is QvEventLogConnectorSimple.exe.
The command that the custom connector should execute is JsonRequest and the method name is getDatabases. There is no parameters for that command.
The method getDatabases is a method that is recognized by the connector QvEventLogConnectorSimple.exe.
The name of the connection is Connection01. This connection has been previously created. For more information on how to create a custom connection, see Create a connection.
The client sends:
The engine returns:
The result of the JsonRequest command is returned.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!