Exemple #1
0
            /// <exception cref="System.IO.IOException"/>
            private BackupNodeRpcServer(Configuration conf, BackupNode nn)
                : base(conf, nn)
            {
                JournalProtocolServerSideTranslatorPB journalProtocolTranslator = new JournalProtocolServerSideTranslatorPB
                                                                                      (this);
                BlockingService service = JournalProtocolProtos.JournalProtocolService.NewReflectiveBlockingService
                                              (journalProtocolTranslator);

                DFSUtil.AddPBProtocol(conf, typeof(JournalProtocolPB), service, this.clientRpcServer
                                      );
            }