markus / MarkusAutoUpdate / src / IIpc / IIpcServer.cs @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (1.02 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
|
7 |
namespace IIpc |
8 |
{ |
9 |
public interface IIpcServer : IDisposable |
10 |
{ |
11 |
void Start(); |
12 |
void Stop(); |
13 |
|
14 |
event EventHandler<ParamReceivedEventArgs> ParamReceived; |
15 |
event EventHandler<EventArgs> ProcessStart; |
16 |
} |
17 |
|
18 |
public class ParamReceivedEventArgs : EventArgs |
19 |
{ |
20 |
public ParamReceivedEventArgs(string installPath, string tempStoragePath, string downloadFile, string kcomPath, string param) |
21 |
{ |
22 |
InstallPath = installPath; |
23 |
TempStoragePath = tempStoragePath; |
24 |
DownloadFile = downloadFile; |
25 |
KcomPath = kcomPath; |
26 |
Param = param; |
27 |
} |
28 |
|
29 |
public string InstallPath { get; private set; } |
30 |
public string TempStoragePath { get; private set; } |
31 |
public string DownloadFile { get; private set; } |
32 |
public string KcomPath { get; private set; } |
33 |
public string Param { get; private set; } |
34 |
} |
35 |
} |