static void StartChannelService() { if (!ChannelService.IsRunning()) { ChannelService.Start(); } Debug.Log($"[Step 0] ChannelService Running: {ChannelService.GetAddress()}:{ChannelService.GetPort()}"); }
static void RegisterChannelService() { if (!ChannelService.IsRunning()) { ChannelService.Start(); } Console.WriteLine($"ChannelService Running: {ChannelService.GetAddress()}:{ChannelService.GetPort()}"); // Create search view context s_SearchRequestsById = new Dictionary <int, ClientSearchRequest>(); s_SearchChannel = new SearchChannel("search", HandleChannelMessage); s_ThumbnailChannel = new SearchChannel("search_thumbnail", HandleThumbnailChannelMessage); Utils.DelayCall(1.0f, CleanupConnections); }