Projekt

Obecné

Profil

« Předchozí | Další » 

Revize e6a01bd8

Přidáno uživatelem Pultak před více než 2 roky(ů)

re #9712 Added documentation of the newly implemented methods + refactoring

Zobrazit rozdíly:

ld_client/LDClient/detection/IT32Utils.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
1
namespace LDClient.detection;
6 2

  
7
namespace LDClient.detection {
8
    public interface IT32Utils {
9 3

  
10
        public bool InitConnection();
11
        public bool ExecuteCommands();
12
        public bool CloseConnection();
4
/// <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();
13 16

  
14
    }
15
}
17
    /// <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
}

Také k dispozici: Unified diff