Issue #32: Added ExecutorHandle property to determine which expert will be used for execution command

This commit is contained in:
vdemydiuk
2016-11-28 14:45:33 +02:00
parent 9a6968f618
commit e333164552
6 changed files with 93 additions and 55 deletions
+20 -1
View File
@@ -94,6 +94,25 @@ namespace MtApi
}
}
}
private int _executorHandle;
public int ExecutorHandle
{
get
{
lock (_locker)
{
return _executorHandle;
}
}
set
{
lock (_locker)
{
_executorHandle = value;
}
}
}
#endregion
@@ -1827,7 +1846,7 @@ namespace MtApi
try
{
response = client.SendCommand((int)commandType, commandParameters);
response = client.SendCommand((int)commandType, commandParameters, ExecutorHandle);
}
catch (CommunicationException ex)
{