GetRequestHandler() public static method

public static GetRequestHandler ( IPackageHandler packageHandler ) : IRequestHandler
packageHandler IPackageHandler
return IRequestHandler
Exemplo n.º 1
0
        private void InitI(IActivityHandler activityHandler, IDeviceUtil deviceUtil, bool startPaused)
        {
            ReadPackageQueueI();

            _internalWaitHandle = new ManualResetEvent(true); // door starts open (signaled)

            _requestHandler = AdjustFactory.GetRequestHandler(SendNextPackage, CloseFirstPackage);
        }
Exemplo n.º 2
0
        private void InitInternal(IActivityHandler activityHandler, bool startPaused)
        {
            Init(activityHandler, startPaused);

            ReadPackageQueue();

            InternalWaitHandle = new ManualResetEvent(true); // door starts open (signaled)

            RequestHandler = AdjustFactory.GetRequestHandler(this);
        }