프로젝트

일반

사용자정보

개정판 6a19b48d

ID6a19b48d4d65f0132542748dacd26fb0b1c9c89a
상위 c1946e9c
하위 d2050059, f5f788c2

김태성이(가) 약 2년 전에 추가함

issue #00000 페이지 이미지 download 로직 수정

Change-Id: I4da03c36b5a135eea80b57b20ada38239afd1082

차이점 보기:

IIpc/WcfServer.cs
27 27
                this.server.OnFileDownloadReceived(new IpcDownloadStatusArgs(progress, isFinish));
28 28
            }
29 29

  
30
            public void SendThumbnailReceived(int pageno, string path)
30
            public void SendThumbnailReceived(int pageno, string path,bool isLast)
31 31
            {
32
                this.server.OnThumbnailReceived(new IpcThumbnailEventArgs(pageno,path));
32
                this.server.OnThumbnailReceived(new IpcThumbnailEventArgs(pageno,path, isLast));
33 33
            }
34 34
        }
35 35

  
......
65 65
            try
66 66
            {
67 67
                this.host = new ServiceHost(new _Server(this), new Uri(string.Format("net.pipe://localhost/{0}", endpoint)));
68

  
68
                this.host.Closing += Host_Closing;
69 69
                //ServiceMetadataBehavior smb = new ServiceMetadataBehavior();
70 70
                //smb.HttpGetEnabled = false;
71 71
                //host.Description.Behaviors.Add(smb);
......
99 99
            //}
100 100
        }
101 101

  
102
        private void Host_Closing(object sender, EventArgs e)
103
        {
104
            System.Diagnostics.Debug.WriteLine($"IIpc.WcfServer {this.host.BaseAddresses?.First()} closing");
105
        }
106

  
102 107
        public static BinaryMessageEncodingBindingElement gBindingElement = new BinaryMessageEncodingBindingElement
103 108
        {
104 109
            MaxReadPoolSize = Int16.MaxValue,

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)