Пример #1
0
 private ServerMessageDispatcherImpl FirstMessageDispatcherFor(ObjectServerImpl server
     )
 {
     var dispatchers = server.IterateDispatchers();
     Assert.IsTrue(dispatchers.MoveNext());
     var msgDispatcher = (ServerMessageDispatcherImpl) dispatchers
         .Current;
     return msgDispatcher;
 }
Пример #2
0
 internal FatalServerShutdown(ObjectServerImpl server, Exception origExc)
 {
     try
     {
         server.Close(ShutdownMode.Fatal(origExc));
     }
     catch (Exception throwable)
     {
         throw new CompositeDb4oException(new Exception[] { origExc, throwable });
     }
 }
Пример #3
0
		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());
		}
Пример #6
0
 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;
 }
Пример #9
0
			public _IClosure4_394(ObjectServerImpl _enclosing)
			{
				this._enclosing = _enclosing;
			}
Пример #10
0
			public _IRunnable_351(ObjectServerImpl _enclosing, LocalObjectContainer threadContainer
				)
			{
				this._enclosing = _enclosing;
				this.threadContainer = threadContainer;
			}
Пример #11
0
		public CommittedCallbacksDispatcher(ObjectServerImpl server, BlockingQueue committedInfosQueue
			)
		{
			_server = server;
			_committedInfosQueue = committedInfosQueue;
		}