Exemplo n.º 1
0
 /// <exception cref="System.IO.IOException"></exception>
 public virtual NeoDatis.Odb.Core.Server.Connection.ClientServerConnection WaitForRemoteConnection
     ()
 {
     System.Net.Sockets.TcpClient connection = socketServer.Accept();
     connection.SetTcpNoDelay(true);
     NeoDatis.Odb.Core.Server.Connection.DefaultConnectionThread connectionThread = new
                                                                                    NeoDatis.Odb.Core.Server.Connection.DefaultConnectionThread(this, connection, automaticallyCreateDatabase
                                                                                                                                                );
     Java.Lang.Thread thread = new Java.Lang.Thread(connectionThread);
     connectionThread.SetName(thread.GetName());
     thread.Start();
     return(connectionThread);
 }