示例#1
0
文件: WebApp.cs 项目: kazuki/p2pncs
 public WebApp(Node node, Interrupters ints)
 {
     _node = node;
     node.MMLC.Register (BBS.SimpleBBSParser.Instance);
     node.MMLC.Register (Wiki.WikiParser.Instance);
     _statInt = ints.StatisticsTimer;
     lock (_xslTemplate) {
         if (_threadInfoArray == null) {
             _statInt.AddInterruption (UpdateThreadStatistics);
             UpdateThreadStatistics ();
         }
     }
     _statInt.AddInterruption (UpdateStatistics);
 }
示例#2
0
 public MergeCometInfo(Node node, Key key, string tail_url)
 {
     _node = node;
     _key = key;
     _tail = tail_url;
 }