public void Loop(IRawServer rawServer) { this.rawServer = rawServer; this.taskDelegates = new List <TaskDelegate>(); taskDelegates.Add(Raw); rawServer.AddTask(Raw, 0.1, string.Empty); }
private void Raw() { rawServer.AddTask(taskDelegates[0], 0.1, string.Empty); }