mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
Removed field thinCliProtocol.dProgress because it was not implemented.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
c226316632
commit
a1a577fa22
3
xe/Xe.cs
3
xe/Xe.cs
@ -38,8 +38,7 @@ namespace ThinCLI
|
|||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var tCliProtocol = new thinCLIProtocol(
|
var tCliProtocol = new thinCLIProtocol(new Config());
|
||||||
i => { }, new Config());
|
|
||||||
|
|
||||||
string body = "";
|
string body = "";
|
||||||
char[] eqsep = {'='};
|
char[] eqsep = {'='};
|
||||||
|
@ -52,11 +52,8 @@ namespace ThinCLI
|
|||||||
public bool debug = false;
|
public bool debug = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public delegate void delegateProgress(int i);
|
|
||||||
|
|
||||||
public class thinCLIProtocol
|
public class thinCLIProtocol
|
||||||
{
|
{
|
||||||
public delegateProgress dProgress;
|
|
||||||
public Config conf;
|
public Config conf;
|
||||||
public string magic_string = "XenSource thin CLI protocol";
|
public string magic_string = "XenSource thin CLI protocol";
|
||||||
public int major = 0;
|
public int major = 0;
|
||||||
@ -64,11 +61,8 @@ namespace ThinCLI
|
|||||||
public bool dropOut;
|
public bool dropOut;
|
||||||
public List<string> EnteredParamValues;
|
public List<string> EnteredParamValues;
|
||||||
|
|
||||||
public thinCLIProtocol(
|
public thinCLIProtocol(Config conf)
|
||||||
delegateProgress dProgress,
|
|
||||||
Config conf)
|
|
||||||
{
|
{
|
||||||
this.dProgress = dProgress;
|
|
||||||
this.conf = conf;
|
this.conf = conf;
|
||||||
dropOut = false;
|
dropOut = false;
|
||||||
EnteredParamValues = new List<string>();
|
EnteredParamValues = new List<string>();
|
||||||
@ -317,7 +311,6 @@ namespace ThinCLI
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
stream.Write(block, 0, n);
|
stream.Write(block, 0, n);
|
||||||
tCLIprotocol.dProgress(n);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user