Exemple #1
0
        internal AsyncIOThread(Ice.Communicator communicator)
        {
            _communicator = communicator;

            _thread = new HelperThread(this);
            UpdateObserver();
            _thread.Start();
        }
Exemple #2
0
        internal AsyncIOThread(Ice.Communicator communicator)
        {
            _communicator = communicator;

            _thread = new HelperThread(this);
            updateObserver();
            _thread.Start(Util.stringToThreadPriority(communicator.GetProperty("Ice.ThreadPriority")));
        }
Exemple #3
0
        internal AsyncIOThread(Instance instance)
        {
            _instance = instance;

            _thread = new HelperThread(this);
            updateObserver();
            _thread.Start(Util.stringToThreadPriority(
                              instance.initializationData().properties.getProperty("Ice.ThreadPriority")));
        }
Exemple #4
0
 internal EndpointHostResolver(Ice.Communicator communicator)
 {
     _communicator = communicator;
     _protocol     = communicator.ProtocolSupport;
     _preferIPv6   = communicator.PreferIPv6;
     _thread       = new HelperThread(this);
     updateObserver();
     _thread.Start(Util.stringToThreadPriority(communicator.GetProperty("Ice.ThreadPriority")));
 }
 internal EndpointHostResolver(Instance instance)
 {
     _instance   = instance;
     _protocol   = instance.protocolSupport();
     _preferIPv6 = instance.preferIPv6();
     _thread     = new HelperThread(this);
     updateObserver();
     _thread.Start(Util.stringToThreadPriority(
                       instance.initializationData().properties.getProperty("Ice.ThreadPriority")));
 }
Exemple #6
0
        internal AsyncIOThread(Instance instance)
        {
            _instance = instance;

            _thread = new HelperThread(this);
            if(instance.initializationData().properties.getProperty("Ice.ThreadPriority").Length > 0)
            {
                ThreadPriority priority = IceInternal.Util.stringToThreadPriority(
                                           instance.initializationData().properties.getProperty("Ice.ThreadPriority"));
                _thread.Start(priority);
            }
            else
            {
                _thread.Start(ThreadPriority.Normal);
            }
        }
Exemple #7
0
        internal AsyncIOThread(Instance instance)
        {
            _instance = instance;

            _thread = new HelperThread(this);
            updateObserver();
            if (instance.initializationData().properties.getProperty("Ice.ThreadPriority").Length > 0)
            {
                ThreadPriority priority = IceInternal.Util.stringToThreadPriority(
                    instance.initializationData().properties.getProperty("Ice.ThreadPriority"));
                _thread.Start(priority);
            }
            else
            {
                _thread.Start(ThreadPriority.Normal);
            }
        }
 internal EndpointHostResolver(Instance instance)
 {
     _instance = instance;
     _protocol = instance.protocolSupport();
     _preferIPv6 = instance.preferIPv6();
     _thread = new HelperThread(this);
     updateObserver();
     if(instance.initializationData().properties.getProperty("Ice.ThreadPriority").Length > 0)
     {
         ThreadPriority priority = IceInternal.Util.stringToThreadPriority(
             instance.initializationData().properties.getProperty("Ice.ThreadPriority"));
         _thread.Start(priority);
     }
     else
     {
         _thread.Start(ThreadPriority.Normal);
     }
 }
 internal EndpointHostResolver(Instance instance)
 {
     _instance   = instance;
     _protocol   = instance.protocolSupport();
     _preferIPv6 = instance.preferIPv6();
     _thread     = new HelperThread(this);
     updateObserver();
     if (instance.initializationData().properties.getProperty("Ice.ThreadPriority").Length > 0)
     {
         ThreadPriority priority = IceInternal.Util.stringToThreadPriority(
             instance.initializationData().properties.getProperty("Ice.ThreadPriority"));
         _thread.Start(priority);
     }
     else
     {
         _thread.Start(ThreadPriority.Normal);
     }
 }
Exemple #10
0
        internal AsyncIOThread(Instance instance)
        {
            _instance = instance;

            _thread = new HelperThread(this);
            updateObserver();
#if !SILVERLIGHT
            if(instance.initializationData().properties.getProperty("Ice.ThreadPriority").Length > 0)
            {
                ThreadPriority priority = IceInternal.Util.stringToThreadPriority(
                                           instance.initializationData().properties.getProperty("Ice.ThreadPriority"));
                _thread.Start(priority);
            }
            else
            {
                _thread.Start(ThreadPriority.Normal);
            }
#else
            _thread.Start();
#endif
        }