C# Class MQL4CSharp.Base.MQL.MQLCommandManager

Datei anzeigen Open project: jseparovic/MQL4CSharp Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

ExecCommand() public method

public ExecCommand ( MQLCommand command, List parameters ) : int
command MQLCommand
parameters List
return int

GetCommandResult() public method

public GetCommandResult ( int id ) : Object
id int
return Object

IsCommandRunning() public method

public IsCommandRunning ( int id ) : bool
id int
return bool

MQLCommandManager() public method

public MQLCommandManager ( System.Int64 ix ) : System
ix System.Int64
return System

getCommandParams() public method

public getCommandParams ( int id ) : String
id int
return String

getInstance() public static method

public static getInstance ( System.Int64 ix ) : MQLCommandManager
ix System.Int64
return MQLCommandManager

throwExceptionIfErrorResponse() public method

public throwExceptionIfErrorResponse ( int id ) : void
id int
return void