internal void OperationAsynchronousStream(OperationParameter.OperationNode parameter, Func <AutoCSer.Net.TcpServer.ReturnValue <ReturnParameter>, bool> onOperation) { TcpServer.CallQueue.Add(new ServerCall.OperationAsynchronous(Cache, parameter.Buffer, onOperation)); }
internal void OperationAsynchronousOnly(OperationParameter.OperationNode parameter) { Cache.Operation(parameter.Buffer, nullCallbackHandle); }
internal void OperationOnly(OperationParameter.OperationNode parameter) { Cache.Operation(parameter.Buffer); }
internal ReturnParameter OperationStream(OperationParameter.OperationNode parameter) { ValueData.Data returnValue = Cache.Operation(parameter.Buffer); returnValue.IsReturnDeSerializeStream = true; return(new ReturnParameter(ref returnValue)); }
internal ReturnParameter Operation(OperationParameter.OperationNode parameter) { return(new ReturnParameter(Cache.Operation(parameter.Buffer))); }
internal void OperationAsynchronousOnly(OperationParameter.OperationNode parameter) { Cache.Operation(parameter.Buffer, AutoCSer.Net.TcpServer.ServerCallback <ReturnParameter> .Null.Default); }
internal void OperationAsynchronousStream(OperationParameter.OperationNode parameter, AutoCSer.Net.TcpServer.ServerCallback <ReturnParameter> onOperation) { Cache.Operation(parameter.Buffer, onOperation); //TcpServer.CallQueue.Add(new ServerCall.OperationAsynchronous(Cache, parameter.Buffer, onOperation)); }