예제 #1
0
        }         // Run

        public virtual void Run(bool bValidateCredentialsOnly, int nCustomerMarketplaceID)
        {
            try {
                DataHarvester.Run(bValidateCredentialsOnly, nCustomerMarketplaceID);
            }
            catch (Integration.ChannelGrabberAPI.ConnectionFailException cfe) {
                throw new ConnectionFailException(cfe.Message, cfe);
            }
            catch (Integration.ChannelGrabberAPI.ApiException ae) {
                throw new ApiException(ae.Message, ae);
            }     // try
        }         // Run
예제 #2
0
        }         // Run

        public virtual void Done()
        {
            try {
                DataHarvester.Done();
            }
            catch (Integration.ChannelGrabberAPI.ConnectionFailException cfe) {
                throw new ConnectionFailException(cfe.Message, cfe);
            }
            catch (Integration.ChannelGrabberAPI.ApiException ae) {
                throw new ApiException(ae.Message, ae);
            }     // try
        }         // Done
예제 #3
0
        }         // constructor

        public virtual bool Init()
        {
            try {
                return(DataHarvester.Init());
            }
            catch (Integration.ChannelGrabberAPI.ConnectionFailException cfe) {
                throw new ConnectionFailException(cfe.Message, cfe);
            }
            catch (Integration.ChannelGrabberAPI.ApiException ae) {
                throw new ApiException(ae.Message, ae);
            }     // try
        }         // Init