public void Clear(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); } }
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 EncodeFast(SoftFX.Lrp.LPtr handle, SoftFX.Extended.Quote[] quotes) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteQuoteArray(quotes); int _status = m_client.Invoke(0, 6, 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 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 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 void SendQuote(SoftFX.Lrp.LPtr handle, long id, LrpServer.Net.LrpQuote quote) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteQuote(quote); int _status = m_client.Invoke(1, 13, buffer); TypesSerializer.Throw(_status, buffer); } }
public void SendQuotesSubscriptionConfirm(SoftFX.Lrp.LPtr handle, long id, string requestId) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteAString(requestId); int _status = m_client.Invoke(1, 10, buffer); TypesSerializer.Throw(_status, buffer); } }
public void SendNotification(SoftFX.Lrp.LPtr handle, long id, LrpServer.Net.LrpNotification notification) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteNotification(notification); int _status = m_client.Invoke(1, 19, buffer); TypesSerializer.Throw(_status, buffer); } }
public void EndConnection(SoftFX.Lrp.LPtr handle, long id, int status) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteInt32(status); int _status = m_client.Invoke(1, 4, 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 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 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 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 void SendQuotesHistoryVersion(SoftFX.Lrp.LPtr handle, long id, string requestId, int version) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteAString(requestId); buffer.WriteInt32(version); int _status = m_client.Invoke(1, 12, buffer); TypesSerializer.Throw(_status, buffer); } }
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 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 long GetSize(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(0, 3, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadInt64(); return(_result); } }
public SoftFX.Internal.FixSessionId[] GetSessions(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(0, 4, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadFFixSessionIdArray(); return(_result); } }
public string Format(SoftFX.Lrp.LPtr handle) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); int _status = m_client.Invoke(1, 4, buffer); TypesSerializer.Throw(_status, buffer); var _result = buffer.ReadAString(); 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 void SendSymbolsInfo(SoftFX.Lrp.LPtr handle, long id, string requestId, LrpServer.Net.LrpSymbolInfo[] symbols) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteAString(requestId); buffer.WriteSymbolInfoArray(symbols); int _status = m_client.Invoke(1, 9, buffer); TypesSerializer.Throw(_status, buffer); } }
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 void SendFileChunk(SoftFX.Lrp.LPtr handle, long id, string requestId, LrpServer.Net.LrpFileChunk chunk) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteAString(requestId); buffer.WriteFileChunk(chunk); int _status = m_client.Invoke(1, 18, 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 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 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 void SendDataHistoryResponse(SoftFX.Lrp.LPtr handle, long id, string requestId, LrpServer.Net.LrpDataHistoryResponse response) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteAString(requestId); buffer.WriteDataHistoryResponse(response); int _status = m_client.Invoke(1, 16, buffer); TypesSerializer.Throw(_status, buffer); } }
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 void SendBusinessReject(SoftFX.Lrp.LPtr handle, long id, string rejectReason, string rejectTag) { using (MemoryBuffer buffer = m_client.Create()) { buffer.WriteLocalPointer(handle); buffer.WriteInt64(id); buffer.WriteAString(rejectReason); buffer.WriteAString(rejectTag); int _status = m_client.Invoke(1, 20, buffer); TypesSerializer.Throw(_status, buffer); } }