예제 #1
0
 //# __________ PROTOCOL :: CONSTRUCTORS __________ #//
 public VmAccountChunkedUploader(VmAccountUploader accountUploader)
 {
     AccountUploader = accountUploader;
 }
예제 #2
0
        //# __________ PROTOCOL :: PUBLIC __________ #//
        public void Synchronize()
        {
            VmAccountData.Default.AccountOutputData.WriteVersionNote();

            // kludge (err) - Language
            RegisterDevice();

            Monitor("- Begin Upload -");
            VmAccountUploader u = new VmAccountUploader(this);
            u.Upload();
            Monitor("- End Upload - ");

            VmApplication.Default.ClearNeedsToTransmitFlags();

            Monitor("");

            Monitor("- Begin Download -");
            VmAccountDataDownloader d = new VmAccountDataDownloader(this);
            d.Download();
            Monitor("- End Download - ");

            Monitor("");
            Monitor("Transmit Successfully Completed");

            VmAccountData.Default.WriteLastTransmittedTimestamp(JwTimestamp.CreateNowUtc());
        }