private static void LrpInvoke_LocalServerHandler_BeginLogoutRequest(int offset, MemoryBuffer buffer, Channel channel) { var component = channel.LocalServerHandler; var arg0 = buffer.ReadLocalPointer(); var arg1 = buffer.ReadInt64(); buffer.Reset(offset); component.BeginLogoutRequest(arg0, arg1); }
private static void LrpInvoke_LocalServerHandler_BeginShutdownConnectionNotification(int offset, MemoryBuffer buffer, Channel channel) { var component = channel.LocalServerHandler; var arg0 = buffer.ReadLocalPointer(); var arg1 = buffer.ReadInt64(); buffer.Reset(offset); component.BeginShutdownConnectionNotification(arg0, arg1); }
private static void LrpInvoke_LocalServerHandler_BeginCurrenciesInfoRequest(int offset, MemoryBuffer buffer, Channel channel) { var component = channel.LocalServerHandler; var arg0 = buffer.ReadLocalPointer(); var arg1 = buffer.ReadInt64(); var arg2 = buffer.ReadAString(); buffer.Reset(offset); component.BeginCurrenciesInfoRequest(arg0, arg1, arg2); }
private static void LrpInvoke_LocalServerHandler_BeginLogonRequest(int offset, MemoryBuffer buffer, Channel channel) { var component = channel.LocalServerHandler; var arg0 = buffer.ReadLocalPointer(); var arg1 = buffer.ReadInt64(); var arg2 = buffer.ReadAString(); var arg3 = buffer.ReadInt32(); var arg4 = buffer.ReadAString(); var arg5 = buffer.ReadAString(); buffer.Reset(offset); component.BeginLogonRequest(arg0, arg1, arg2, arg3, arg4, arg5); }
private static void LrpInvoke_LocalServerHandler_BeginUnsubscribeQuotesRequest(int offset, MemoryBuffer buffer, Channel channel) { var component = channel.LocalServerHandler; var arg0 = buffer.ReadLocalPointer(); var arg1 = buffer.ReadInt64(); var arg2 = buffer.ReadAString(); var arg3 = buffer.ReadAStringArray(); buffer.Reset(offset); component.BeginUnsubscribeQuotesRequest(arg0, arg1, arg2, arg3); }
private static int LrpInvokeEx(int offset, int componentId, int methodId, MemoryBuffer buffer, Channel channel) { if((componentId < 0) || (componentId >= 1)) { return MagicNumbers.LRP_INVALID_COMPONENT_ID; } int result = MagicNumbers.LRP_EXCEPTION; try { try { result = gHandlers[componentId](offset, methodId, buffer, channel); return result; } catch(System.Exception e) { buffer.Reset(offset); buffer.WriteInt32(-1); buffer.WriteAString(e.Message); } } catch(System.Exception) { result = MagicNumbers.E_FAIL; } return result; }
private static int LrpInvoke_LocalServerHandler(int offset, int methodId, MemoryBuffer buffer, Channel channel) { if((methodId < 0) || (methodId >= 14)) { return MagicNumbers.LRP_INVALID_METHOD_ID; } gLocalServerHandlerHandlers[methodId](offset, buffer, channel); return MagicNumbers.S_OK; }
private static void LrpInvoke_LocalServerHandler_BeginQuotesHistoryMetaInfoFileRequest(int offset, MemoryBuffer buffer, Channel channel) { var component = channel.LocalServerHandler; var arg0 = buffer.ReadLocalPointer(); var arg1 = buffer.ReadInt64(); var arg2 = buffer.ReadAString(); var arg3 = buffer.ReadAString(); var arg4 = buffer.ReadBoolean(); buffer.Reset(offset); component.BeginQuotesHistoryMetaInfoFileRequest(arg0, arg1, arg2, arg3, arg4); }