public void Run() { try { var socket = _enclosing._serverSocket.Accept(); var messageDispatcher = new ServerMessageDispatcherImpl(_enclosing, new ClientTransactionHandle(_enclosing._transactionPool), socket , _enclosing.NewThreadId(), false, threadContainer.Lock()); _enclosing.AddServerMessageDispatcher(messageDispatcher); _enclosing.ThreadPool().Start("server message dispatcher (still initializing)" , messageDispatcher); } catch (Exception) { } }
public object Run() { _enclosing.ThreadPool().Start(_enclosing._name, _enclosing); return(null); }