public Entry() { Log = null; _loopContinue = true; rx = new Regex(@"([\d.]+):(\d+)", RegexOptions.IgnorePatternWhitespace | RegexOptions.IgnoreCase | RegexOptions.Compiled); try { var clientBootstrap = new ClientBootstrap() .SetTransport(TransportType.Udp) .OnConnect(ConnectionEstablishedCallback) .OnReceive(ReceivedDataCallback) .OnDisconnect(ConnectionTerminatedCallback) .OnError(ConnectionOnOnError); _connectionFactory = clientBootstrap.Build(); } catch (Exception) { throw; } _nodeDictionary = new Dictionary <string, INode>(); _connectionDictionary = new Dictionary <string, IConnection>(); }