private ServerMessageDispatcherImpl FirstMessageDispatcherFor(ObjectServerImpl server ) { var dispatchers = server.IterateDispatchers(); Assert.IsTrue(dispatchers.MoveNext()); var msgDispatcher = (ServerMessageDispatcherImpl) dispatchers .Current; return msgDispatcher; }
internal FatalServerShutdown(ObjectServerImpl server, Exception origExc) { try { server.Close(ShutdownMode.Fatal(origExc)); } catch (Exception throwable) { throw new CompositeDb4oException(new Exception[] { origExc, throwable }); } }
internal FatalServerShutdown(ObjectServerImpl server, Exception origExc) { try { server.Close(ShutdownMode.Fatal(origExc)); } catch (Exception throwable) { throw new CompositeDb4oException(new Exception[] { origExc, throwable }); } }
/// <exception cref="System.Exception"></exception> internal ServerMessageDispatcherImpl(ObjectServerImpl server, ClientTransactionHandle transactionHandle, ISocket4 socket4, int threadID, bool loggedIn, object mainLock ) { _mainLock = mainLock; _transactionHandle = transactionHandle; _loggedin = loggedIn; _server = server; _threadID = threadID; _socket = new Socket4Adapter(socket4); _socket.SetSoTimeout(((Config4Impl)server.Configure()).TimeoutServerSocket()); }
/// <exception cref="System.Exception"></exception> internal ServerMessageDispatcherImpl(ObjectServerImpl server, ClientTransactionHandle transactionHandle, ISocket4 socket4, int threadID, bool loggedIn, object mainLock ) { _mainLock = mainLock; _transactionHandle = transactionHandle; _loggedin = loggedIn; _server = server; _threadID = threadID; _socket = new Socket4Adapter(socket4); _socket.SetSoTimeout(((Config4Impl)server.Configure()).TimeoutServerSocket()); }
public CommittedCallbacksDispatcher(ObjectServerImpl server, BlockingQueue committedInfosQueue ) { _server = server; _committedInfosQueue = committedInfosQueue; }
public _IClosure4_394(ObjectServerImpl _enclosing) { this._enclosing = _enclosing; }
public _IRunnable_351(ObjectServerImpl _enclosing, LocalObjectContainer threadContainer ) { this._enclosing = _enclosing; this.threadContainer = threadContainer; }
public _IClosure4_394(ObjectServerImpl _enclosing) { this._enclosing = _enclosing; }
public _IRunnable_351(ObjectServerImpl _enclosing, LocalObjectContainer threadContainer ) { this._enclosing = _enclosing; this.threadContainer = threadContainer; }
public CommittedCallbacksDispatcher(ObjectServerImpl server, BlockingQueue committedInfosQueue ) { _server = server; _committedInfosQueue = committedInfosQueue; }