Exemplo n.º 1
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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);
		}
Exemplo n.º 2
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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);
		}
Exemplo n.º 3
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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);
		}
Exemplo n.º 4
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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);
		}
Exemplo n.º 5
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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);
		}
Exemplo n.º 6
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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;
		}
Exemplo n.º 7
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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;
		}
Exemplo n.º 8
0
Arquivo: Server.cs Projeto: ifzz/FDK
		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);
		}