C# Класс MQL4CSharp.Base.MQL.MQLCommandManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ExecCommand ( MQLCommand command, List parameters ) : int
GetCommandResult ( int id ) : Object
IsCommandRunning ( int id ) : bool
MQLCommandManager ( System.Int64 ix ) : System
getCommandParams ( int id ) : String
getInstance ( System.Int64 ix ) : MQLCommandManager
throwExceptionIfErrorResponse ( int id ) : void

Приватные методы

Метод Описание
CommandLock ( System.Int64 ix ) : bool
CommandUnLock ( System.Int64 ix ) : bool
GetCommandId ( System.Int64 ix, int id ) : int
GetCommandName ( System.Int64 ix, int id, [ commandName ) : void
GetCommandParams ( System.Int64 ix, int id, [ commandParams ) : void
IsCommandWaiting ( System.Int64 ix ) : int
SetBoolCommandResponse ( System.Int64 ix, int id, bool response, int error ) : void
SetDateTimeCommandResponse ( System.Int64 ix, int id, System.Int64 response, int error ) : void
SetDoubleCommandResponse ( System.Int64 ix, int id, double response, int error ) : void
SetEnumCommandResponse ( System.Int64 ix, int id, int response, int error ) : void
SetIntCommandResponse ( System.Int64 ix, int id, int response, int error ) : void
SetLongCommandResponse ( System.Int64 ix, int id, long response, int error ) : void
SetStringCommandResponse ( System.Int64 ix, int id, [ response, int error ) : void
SetVoidCommandResponse ( System.Int64 ix, int id, int error ) : void
setCommandResponse ( int id, object response, int errorCode ) : void

Описание методов

ExecCommand() публичный Метод

public ExecCommand ( MQLCommand command, List parameters ) : int
command MQLCommand
parameters List
Результат int

GetCommandResult() публичный Метод

public GetCommandResult ( int id ) : Object
id int
Результат Object

IsCommandRunning() публичный Метод

public IsCommandRunning ( int id ) : bool
id int
Результат bool

MQLCommandManager() публичный Метод

public MQLCommandManager ( System.Int64 ix ) : System
ix System.Int64
Результат System

getCommandParams() публичный Метод

public getCommandParams ( int id ) : String
id int
Результат String

getInstance() публичный статический Метод

public static getInstance ( System.Int64 ix ) : MQLCommandManager
ix System.Int64
Результат MQLCommandManager

throwExceptionIfErrorResponse() публичный Метод

public throwExceptionIfErrorResponse ( int id ) : void
id int
Результат void