public ContentServer() { _subscribers = new List <IContentListener>(); _communicator = CommunicationFactory.GetCommunicator(false); _contentDatabase = new ContentDatabase(); _notificationHandler = new ContentServerNotificationHandler(); _fileServer = new FileServer(_contentDatabase); _chatServer = new ChatServer(_contentDatabase); _chatContextServer = new ChatContextServer(_contentDatabase); _serializer = new Serializer(); _communicator.Subscribe("Content", _notificationHandler); }
public ChatContextServer(ContentDatabase contentDatabase) { _contentDatabase = contentDatabase; _allMessages = new List <ChatContext>(); }
public FileServer(ContentDatabase contentDatabase) { _contentDatabase = contentDatabase; }
public ChatServer(ContentDatabase contentDatabase) { _contentDatabase = contentDatabase; }