1
0
tinklu-paslaugos/Lab1/ChatRoom/ChatRoomLogic.cs
2024-09-15 11:21:42 +03:00

29 lines
452 B
C#

namespace ChatRoom;
public class ChatRoomLogic
{
/// <summary>
/// Background task thread.
/// </summary>
private Thread thread;
/// <summary>
/// State descriptor.
/// </summary>
private ChatRoomState state = new ChatRoomState();
public ChatRoomLogic()
{
thread = new Thread(BackgroundTask);
thread.Start();
}
public void BackgroundTask()
{
while (true)
{
}
}
}