public void Delete(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(0, 0, buffer); TypesSerializer.Throw(_status, buffer); } }
public void WriteFullDump(string path) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteWString(path); int _status = m_client.Invoke(11, 3, buffer); TypesSerializer.Throw(_status, buffer); } }
public void SetQueueThreshold(SoftFX.Lrp.LPtr handle, int newSize) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt32(newSize); int _status = m_client.Invoke(5, 11, buffer); TypesSerializer.Throw(_status, buffer); } }
public void DispatchMessage(SoftFX.Lrp.LPtr handle, SoftFX.Extended.Core.FxMessage message) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteMessage(message); int _status = m_client.Invoke(3, 8, buffer); TypesSerializer.Throw(_status, buffer); } }
public SoftFX.Lrp.LPtr Create() { using (MemoryBuffer buffer = m_client.Create()) { int _status = m_client.Invoke(2, 0, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadLocalPointer(); return(_result); } }
public void Next(SoftFX.Lrp.LPtr handle, uint timeoutInMilliseconds) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteUInt32(timeoutInMilliseconds); int _status = m_client.Invoke(10, 2, buffer); TypesSerializer.Throw(_status, buffer); } }
public void UnsubscribeTradeTransactionReports(SoftFX.Lrp.LPtr handle, uint timeoutInMilliseconds) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteUInt32(timeoutInMilliseconds); int _status = m_client.Invoke(7, 3, buffer); TypesSerializer.Throw(_status, buffer); } }
public void SendTwoFactorResponse(SoftFX.Lrp.LPtr handle, SoftFX.Extended.TwoFactorReason reason, string otp) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteTwoFactorReason(reason); buffer.WriteAString(otp); int _status = m_client.Invoke(3, 10, buffer); TypesSerializer.Throw(_status, buffer); } }
public void SetBoolean(SoftFX.Lrp.LPtr handle, string key, bool value) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteAString(key); buffer.WriteBoolean(value); int _status = m_client.Invoke(2, 3, buffer); TypesSerializer.Throw(_status, buffer); } }
public void UnsubscribeQuotes(SoftFX.Lrp.LPtr handle, string[] symbols, uint timeoutInMilliseconds) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteStringArray(symbols); buffer.WriteUInt32(timeoutInMilliseconds); int _status = m_client.Invoke(5, 6, buffer); TypesSerializer.Throw(_status, buffer); } }
public SoftFX.Extended.Data.Notification NotificationFromHandle(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(0, 1, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadNotification(); return(_result); } }
public string ToText(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(2, 5, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadAString(); return(_result); } }
public SoftFX.Extended.CurrencyInfo[] GetCurrencies(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(6, 4, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadCurrencyInfoArray(); return(_result); } }
public SoftFX.Extended.AccountInfo GetAccountInfo(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(8, 0, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadAccountInfo(); return(_result); } }
public SoftFX.Extended.Data.FxOrder[] GetRecords(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(8, 1, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadFxOrderArray(); return(_result); } }
public int TotalItems(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(10, 0, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadInt32(); return(_result); } }
public SoftFX.Extended.Reports.DailyAccountSnapshotReport GetDailyAccountSnapshotReport(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(10, 3, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadDailyAccountSnapshotReport(); return(_result); } }
public bool EndOfStream(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(10, 1, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadBoolean(); return(_result); } }
public SoftFX.Extended.SymbolInfo[] SymbolsFromHandle(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(1, 2, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadSymbolInfoArray(); return(_result); } }
public SoftFX.Extended.TwoFactorAuth TwoFactorAuthFromHandle(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(1, 3, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadTwoFactorAuth(); return(_result); } }
public int Shutdown(SoftFX.Lrp.LPtr instance) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(instance); int _status = m_client.Invoke(3, 3, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadInt32(); return(_result); } }
public SoftFX.Extended.ExecutionReport ExecutionReportFromHandle(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(1, 11, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadExecutionReport(); return(_result); } }
public SoftFX.Extended.Position[] GetPositions(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(8, 2, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadPositionArray(); return(_result); } }
public SoftFX.Extended.Reports.TradeTransactionReport GetTradeTransactionReport(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(9, 3, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadTradeTransactionReport(); return(_result); } }
public void GetLogoutInfoFromHandle(SoftFX.Lrp.LPtr handle, out string text, out SoftFX.Extended.LogoutReason reason, out int code) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(1, 12, buffer); TypesSerializer.Throw(_status, buffer); text = buffer.ReadAString(); reason = buffer.ReadLogoutReason(); code = buffer.ReadInt32(); } }
public SoftFX.Lrp.LPtr Create(string name, string connectionString) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteAString(name); buffer.WriteAString(connectionString); int _status = m_client.Invoke(5, 0, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadLocalPointer(); return(_result); } }
public bool WaitForLogon(SoftFX.Lrp.LPtr handle, uint timeoutInMilliseconds) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteUInt32(timeoutInMilliseconds); int _status = m_client.Invoke(3, 1, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadBoolean(); return(_result); } }
public SoftFX.Extended.SessionInfo GetSessionInfo(SoftFX.Lrp.LPtr handle, uint timeoutInMilliseconds) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteUInt32(timeoutInMilliseconds); int _status = m_client.Invoke(3, 11, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadSessionInfo(); return(_result); } }
public int GetQuotesHistoryVersion(SoftFX.Lrp.LPtr handle, uint timeoutInMilliseconds) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteUInt32(timeoutInMilliseconds); int _status = m_client.Invoke(5, 12, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadInt32(); return(_result); } }
public bool GetNextMessage(SoftFX.Lrp.LPtr handle, out SoftFX.Extended.Core.FxMessage meessage) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(3, 7, buffer); TypesSerializer.Throw(_status, buffer); meessage = buffer.ReadMessage(); var _result = buffer.ReadBoolean(); return(_result); } }