1 |
e6a01bd8
|
Pultak
|
namespace LDClient.detection;
|
2 |
68087f99
|
Pultak
|
|
3 |
|
|
|
4 |
e6a01bd8
|
Pultak
|
/// <summary>
|
5 |
|
|
/// This interface defines the main functionality of an trace32 API
|
6 |
|
|
/// which is mainly used to send commands to the debugger.
|
7 |
|
|
/// </summary>
|
8 |
|
|
public interface IT32Utils {
|
9 |
|
|
|
10 |
|
|
/// <summary>
|
11 |
|
|
/// This method initialized the connection with the trace32 application API.
|
12 |
|
|
/// It setups the standard connection configuration a tries to connect to the API
|
13 |
|
|
/// </summary>
|
14 |
|
|
/// <returns>true on success</returns>
|
15 |
|
|
public bool InitConnection();
|
16 |
68087f99
|
Pultak
|
|
17 |
e6a01bd8
|
Pultak
|
/// <summary>
|
18 |
|
|
/// Method executes all passed commands though the trace32 API
|
19 |
|
|
/// </summary>
|
20 |
|
|
/// <returns>true on success</returns>
|
21 |
|
|
public bool ExecuteCommands();
|
22 |
|
|
|
23 |
|
|
/// <summary>
|
24 |
|
|
/// This method closes the connection with the trace32 application api
|
25 |
|
|
/// </summary>
|
26 |
|
|
/// <returns>true on success</returns>
|
27 |
|
|
public bool CloseConnection();
|
28 |
|
|
|
29 |
|
|
}
|